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 /libavfilter/lavfutils.c | |
parent | 7f5af80ba42bbd82da53dfd95236e9d47159a96a (diff) |
Replace remaining occurances of av_free_packet with av_packet_unref
Diffstat (limited to 'libavfilter/lavfutils.c')
-rw-r--r-- | libavfilter/lavfutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/lavfutils.c b/libavfilter/lavfutils.c index 9952e6eab6..706badf63d 100644 --- a/libavfilter/lavfutils.c +++ b/libavfilter/lavfutils.c @@ -95,7 +95,7 @@ int ff_load_image(uint8_t *data[4], int linesize[4], av_image_copy(data, linesize, (const uint8_t **)frame->data, frame->linesize, *pix_fmt, *w, *h); end: - av_free_packet(&pkt); + av_packet_unref(&pkt); avcodec_close(codec_ctx); avformat_close_input(&format_ctx); av_frame_free(&frame); |