Browse Source

avcodec_default_reget_buffer(): fix compilation in DEBUG mode

tags/n0.11
Diego Biurrun 13 years ago
parent
commit
d10319d87f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/utils.c

+ 1
- 1
libavcodec/utils.c View 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) {


Loading…
Cancel
Save