diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-10-27 16:35:30 +0300 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-10-27 16:35:30 +0300 |
commit | c2f861ca42fa1a2fb6f7e85abb7bd44f39c6f2c4 (patch) | |
tree | fd5a76e51fa3eb2b90deafbb6c0c48a127be42a9 /libavformat/tee.c | |
parent | 7f5af80ba42bbd82da53dfd95236e9d47159a96a (diff) |
Replace remaining occurances of av_free_packet with av_packet_unref
Diffstat (limited to 'libavformat/tee.c')
-rw-r--r-- | libavformat/tee.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tee.c b/libavformat/tee.c index e9fccc17d6..af52a490c6 100644 --- a/libavformat/tee.c +++ b/libavformat/tee.c @@ -424,7 +424,7 @@ static int filter_packet(void *log_ctx, AVPacket *pkt, } if (ret > 0) { - av_free_packet(pkt); + av_packet_unref(pkt); new_pkt.buf = av_buffer_create(new_pkt.data, new_pkt.size, av_buffer_default_free, NULL, 0); if (!new_pkt.buf) |