mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec_default_reget_buffer(): fix compilation in DEBUG mode
This commit is contained in:
parent
273f4b39fc
commit
d10319d87f
@ -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…
Reference in New Issue
Block a user