mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
Add CR/LF to a reget_buffer warning message.
This commit is contained in:
parent
a63a86fd6f
commit
6ba74be511
@ -558,7 +558,7 @@ int avcodec_default_reget_buffer(AVCodecContext *s, AVFrame *pic){
|
||||
assert(s->codec_type == AVMEDIA_TYPE_VIDEO);
|
||||
|
||||
if (pic->data[0] && (pic->width != s->width || pic->height != s->height || pic->format != s->pix_fmt)) {
|
||||
av_log(s, AV_LOG_WARNING, "Width/height/fmt changing with reget buffer");
|
||||
av_log(s, AV_LOG_WARNING, "Width/height/fmt changing with reget buffer\n");
|
||||
s->release_buffer(s, pic);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user