Commit 3d126ef1 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/h264_mp4toannexb_bsf: Use av_freep() to free spspps_buf

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 99530387
......@@ -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 = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment