summaryrefslogtreecommitdiffstats
path: root/libavformat/wtvenc.c
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2015-10-27 14:35:30 +0100
committerHendrik Leppkes <h.leppkes@gmail.com>2015-10-27 14:35:30 +0100
commitc2f861ca42fa1a2fb6f7e85abb7bd44f39c6f2c4 (patch)
treefd5a76e51fa3eb2b90deafbb6c0c48a127be42a9 /libavformat/wtvenc.c
parent7f5af80ba42bbd82da53dfd95236e9d47159a96a (diff)
downloadffmpeg-streaming-c2f861ca42fa1a2fb6f7e85abb7bd44f39c6f2c4.zip
ffmpeg-streaming-c2f861ca42fa1a2fb6f7e85abb7bd44f39c6f2c4.tar.gz
Replace remaining occurances of av_free_packet with av_packet_unref
Diffstat (limited to 'libavformat/wtvenc.c')
-rw-r--r--libavformat/wtvenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/wtvenc.c b/libavformat/wtvenc.c
index 8aebddd..0894b7f 100644
--- a/libavformat/wtvenc.c
+++ b/libavformat/wtvenc.c
@@ -826,7 +826,7 @@ static int write_trailer(AVFormatContext *s)
av_free(wctx->sp_pairs);
av_free(wctx->st_pairs);
- av_free_packet(&wctx->thumbnail);
+ av_packet_unref(&wctx->thumbnail);
return 0;
}
OpenPOWER on IntegriCloud