mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-14 00:58:38 +02:00
Merge commit 'c80344d0101558098a6cd2ed5082ff5fda7ca18b'
* commit 'c80344d0101558098a6cd2ed5082ff5fda7ca18b': mpegvideo_enc: use avcodec_free_context() instead of av_free() Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
commit
95348174ef
@ -1518,8 +1518,7 @@ static int estimate_best_b_count(MpegEncContext *s)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
avcodec_close(c);
|
avcodec_free_context(&c);
|
||||||
av_freep(&c);
|
|
||||||
|
|
||||||
return best_b_count;
|
return best_b_count;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user