[FFmpeg-cvslog] avcodec_default_reget_buffer(): fix compilation in DEBUG mode
Diego Biurrun
git at videolan.org
Tue Feb 28 03:53:27 CET 2012
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Mon Feb 27 20:52:06 2012 +0100| [d10319d87f7f408dc69e1540498e87e2860e945d] | committer: Diego Biurrun
avcodec_default_reget_buffer(): fix compilation in DEBUG mode
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d10319d87f7f408dc69e1540498e87e2860e945d
---
libavcodec/utils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index e57f7ef..2d79f66 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) {
More information about the ffmpeg-cvslog
mailing list