diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-10-10 00:07:30 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-10-10 01:29:22 +0200 |
commit | 3d126ef188639e0b55bdbbb755eafced66f23352 (patch) | |
tree | 2ad30618d514141c8e5e03c49932e784cda382ae /libavcodec | |
parent | 99530387283fc58e6c3ac42724955b8569daf548 (diff) | |
download | ffmpeg-3d126ef188639e0b55bdbbb755eafced66f23352.tar.gz |
avcodec/h264_mp4toannexb_bsf: Use av_freep() to free spspps_buf
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/h264_mp4toannexb_bsf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_mp4toannexb_bsf.c b/libavcodec/h264_mp4toannexb_bsf.c index a5da84a7af..a927bab3f8 100644 --- a/libavcodec/h264_mp4toannexb_bsf.c +++ b/libavcodec/h264_mp4toannexb_bsf.c @@ -276,7 +276,7 @@ static void h264_mp4toannexb_filter_close(AVBitStreamFilterContext *bsfc) { H264BSFContext *ctx = bsfc->priv_data; if (ctx->private_spspps) - av_free(ctx->spspps_buf); + av_freep(&ctx->spspps_buf); } AVBitStreamFilter ff_h264_mp4toannexb_bsf = { |