1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Change default 1 pass blocksize to 64x64.

Originally committed as revision 9040 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Benjamin Larsson 2007-05-17 07:47:02 +00:00
parent 5b0b7054b4
commit 3bcb658c36

View File

@ -295,8 +295,8 @@ static int flashsv_encode_frame(AVCodecContext *avctx, uint8_t *buf, int buf_siz
av_log(avctx, AV_LOG_ERROR, "buf_size %d < res %d\n", buf_size, res);
#else
opt_w=1;
opt_h=1;
opt_w=4;
opt_h=4;
if (buf_size < s->image_width*s->image_height*3) {
//Conservative upper bound check for compressed data