mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
Increase ffmpeg intermediate conversion buffer size to accomodate 48-bit RGB rawvideo
images. Originally committed as revision 17513 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
befb5cac31
commit
c027e91a74
2
ffmpeg.c
2
ffmpeg.c
@ -1897,7 +1897,7 @@ static int av_encode(AVFormatContext **output_files,
|
|||||||
}
|
}
|
||||||
if(codec->codec_type == CODEC_TYPE_VIDEO){
|
if(codec->codec_type == CODEC_TYPE_VIDEO){
|
||||||
int size= codec->width * codec->height;
|
int size= codec->width * codec->height;
|
||||||
bit_buffer_size= FFMAX(bit_buffer_size, 4*size + 200);
|
bit_buffer_size= FFMAX(bit_buffer_size, 6*size + 200);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user