Unified · Split
| @@ -553,7 +553,7 @@ int avcodec_default_reget_buffer(AVCodecContext *s, AVFrame *pic){ · 552 unmodified lines | ||
| 553 | 553 | return s->get_buffer(s, pic); |
| 554 | 554 | } |
| 555 | 555 | |
| 556 | − assert(s->pix_fmt == pic->pix_fmt); | |
| 556 | + assert(s->pix_fmt == pic->format); | |
| 557 | 557 | |
| 558 | 558 | /* If internal buffer type return the same buffer */ |
| 559 | 559 | if(pic->type == FF_BUFFER_TYPE_INTERNAL) { |