aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-02-27 20:52:06 +0100
committerDiego Biurrun <diego@biurrun.de>2012-02-27 20:58:43 +0100
commitd10319d87f7f408dc69e1540498e87e2860e945d (patch)
treed0dd0b15cc79c7420335bc98ddc75bbb4a231035 /libavcodec/utils.c
parent273f4b39fcc624a3a1cf79fe6d1bfc6d977b4a05 (diff)
downloadffmpeg-d10319d87f7f408dc69e1540498e87e2860e945d.tar.gz
avcodec_default_reget_buffer(): fix compilation in DEBUG mode
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c2
1 files changed, 1 insertions, 1 deletions
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) {