avcodec_default_reget_buffer(): fix compilation in DEBUG mode
authorDiego Biurrun <diego@biurrun.de>
Mon, 27 Feb 2012 19:52:06 +0000 (20:52 +0100)
committerDiego Biurrun <diego@biurrun.de>
Mon, 27 Feb 2012 19:58:43 +0000 (20:58 +0100)
libavcodec/utils.c

index e57f7ef..2d79f66 100644 (file)
@@ -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) {