History

avcodec_default_reget_buffer(): fix compilation in DEBUG mode

Diego Biurrun committed 14 years ago

Commit d10319d1 parent 273f4b31 file · +1 −1Browse files

Unified · Split

libavcodec/utils.c+1−1
@@ -553,7 +553,7 @@ int avcodec_default_reget_buffer(AVCodecContext *s, AVFrame *pic){ · 552 unmodified lines
553553 return s->get_buffer(s, pic);
554554 }
555555
556− assert(s->pix_fmt == pic->pix_fmt);
556+ assert(s->pix_fmt == pic->format);
557557
558558 /* If internal buffer type return the same buffer */
559559 if(pic->type == FF_BUFFER_TYPE_INTERNAL) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t