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:
Derek Buitenhuis 2016-04-11 16:02:08 +01:00
commit 95348174ef

View File

@ -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;
}