From 3bcb658c364b6c55a94b30cf338c9e685df753e8 Mon Sep 17 00:00:00 2001 From: Benjamin Larsson Date: Thu, 17 May 2007 07:47:02 +0000 Subject: [PATCH] Change default 1 pass blocksize to 64x64. Originally committed as revision 9040 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/flashsvenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/flashsvenc.c b/libavcodec/flashsvenc.c index 985ddf2f43..aba14f61da 100644 --- a/libavcodec/flashsvenc.c +++ b/libavcodec/flashsvenc.c @@ -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