You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +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:
@@ -1518,8 +1518,7 @@ static int estimate_best_b_count(MpegEncContext *s)
|
||||
}
|
||||
}
|
||||
|
||||
avcodec_close(c);
|
||||
av_freep(&c);
|
||||
avcodec_free_context(&c);
|
||||
|
||||
return best_b_count;
|
||||
}
|
||||
|
Reference in New Issue
Block a user