From d10319d87f7f408dc69e1540498e87e2860e945d Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 27 Feb 2012 20:52:06 +0100 Subject: [PATCH] avcodec_default_reget_buffer(): fix compilation in DEBUG mode --- libavcodec/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {