mpegvideo: Drop err_recognition

It is just a duplicate of an AVCodecContext member so use it instead.
This commit is contained in:
Vittorio Giovara
2015-04-27 19:13:27 +01:00
parent 848e86f74d
commit 9c1db92ad3
7 changed files with 8 additions and 9 deletions

View File

@@ -223,7 +223,7 @@ static inline int ff_mpeg4_pred_dc(MpegEncContext *s, int n, int level,
} else {
level += pred;
ret = level;
if (s->err_recognition & AV_EF_BITSTREAM) {
if (s->avctx->err_recognition & AV_EF_BITSTREAM) {
if (level < 0) {
av_log(s->avctx, AV_LOG_ERROR,
"dc<0 at %dx%d\n", s->mb_x, s->mb_y);