comparison flashsvenc.c @ 5015:c9b17d87df0a libavcodec

Change default 1 pass blocksize to 64x64.
author banan
date Thu, 17 May 2007 07:47:02 +0000
parents 52d8e61c0280
children 3674582fb4e7
comparison
equal deleted inserted replaced
5014:42b99a3aadde 5015:c9b17d87df0a
293 293
294 if (buf_size < res) 294 if (buf_size < res)
295 av_log(avctx, AV_LOG_ERROR, "buf_size %d < res %d\n", buf_size, res); 295 av_log(avctx, AV_LOG_ERROR, "buf_size %d < res %d\n", buf_size, res);
296 296
297 #else 297 #else
298 opt_w=1; 298 opt_w=4;
299 opt_h=1; 299 opt_h=4;
300 300
301 if (buf_size < s->image_width*s->image_height*3) { 301 if (buf_size < s->image_width*s->image_height*3) {
302 //Conservative upper bound check for compressed data 302 //Conservative upper bound check for compressed data
303 av_log(avctx, AV_LOG_ERROR, "buf_size %d < %d\n", buf_size, s->image_width*s->image_height*3); 303 av_log(avctx, AV_LOG_ERROR, "buf_size %d < %d\n", buf_size, s->image_width*s->image_height*3);
304 return -1; 304 return -1;