]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Change default 1 pass blocksize to 64x64.
authorbanan <banan@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Thu, 17 May 2007 07:47:02 +0000 (07:47 +0000)
committerbanan <banan@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Thu, 17 May 2007 07:47:02 +0000 (07:47 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9040 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavcodec/flashsvenc.c

index 985ddf2f43cf097b82cdc7eb868fa82f92206ab2..aba14f61da362e85765ccde04a4f10ff1a9aa82f 100644 (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