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);
|
||||
av_freep(&c);
|
||||
avcodec_free_context(&c);
|
||||
|
||||
return best_b_count;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user