Commit e7b2177d authored by pross's avatar pross

Increase ffmpeg intermediate conversion buffer size to accomodate PPM/PNM header.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17512 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 06eeb8fc
......@@ -1897,7 +1897,7 @@ static int av_encode(AVFormatContext **output_files,
}
if(codec->codec_type == CODEC_TYPE_VIDEO){
int size= codec->width * codec->height;
bit_buffer_size= FFMAX(bit_buffer_size, 4*size);
bit_buffer_size= FFMAX(bit_buffer_size, 4*size + 200);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment