]> git.sesse.net Git - ffmpeg/commitdiff
Change default 1 pass blocksize to 64x64.
authorBenjamin Larsson <banan@ludd.ltu.se>
Thu, 17 May 2007 07:47:02 +0000 (07:47 +0000)
committerBenjamin Larsson <banan@ludd.ltu.se>
Thu, 17 May 2007 07:47:02 +0000 (07:47 +0000)
Originally committed as revision 9040 to svn://svn.ffmpeg.org/ffmpeg/trunk

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