Unified · Split
| @@ -553,7 +553,7 @@ int avcodec_default_reget_buffer(AVCodecContext *s, AVFrame *pic){ · 552 unmodified lines | |||
| 553 | return s->get_buffer(s, pic); | 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 | /* If internal buffer type return the same buffer */ | 558 | /* If internal buffer type return the same buffer */ |
| 559 | if(pic->type == FF_BUFFER_TYPE_INTERNAL) { | 559 | if(pic->type == FF_BUFFER_TYPE_INTERNAL) { |