From: Diego Biurrun Date: Mon, 27 Feb 2012 19:52:06 +0000 (+0100) Subject: avcodec_default_reget_buffer(): fix compilation in DEBUG mode X-Git-Tag: n0.11~10^2~1090 X-Git-Url: http://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff_plain/d10319d87f7f408dc69e1540498e87e2860e945d avcodec_default_reget_buffer(): fix compilation in DEBUG mode --- diff --git a/libavcodec/utils.c b/libavcodec/utils.c index e57f7ef130..2d79f66e35 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -553,7 +553,7 @@ int avcodec_default_reget_buffer(AVCodecContext *s, AVFrame *pic){ return s->get_buffer(s, pic); } - assert(s->pix_fmt == pic->pix_fmt); + assert(s->pix_fmt == pic->format); /* If internal buffer type return the same buffer */ if(pic->type == FF_BUFFER_TYPE_INTERNAL) {