diff options
| author | Diego Biurrun <[email protected]> | 2012-02-27 20:52:06 +0100 | 
|---|---|---|
| committer | Diego Biurrun <[email protected]> | 2012-02-27 20:58:43 +0100 | 
| commit | d10319d87f7f408dc69e1540498e87e2860e945d (patch) | |
| tree | d0dd0b15cc79c7420335bc98ddc75bbb4a231035 /libavcodec/utils.c | |
| parent | 273f4b39fcc624a3a1cf79fe6d1bfc6d977b4a05 (diff) | |
avcodec_default_reget_buffer(): fix compilation in DEBUG mode
Diffstat (limited to 'libavcodec/utils.c')
| -rw-r--r-- | libavcodec/utils.c | 2 | 
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) {  | 
