mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-20 14:31:09 +00: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:
parent
5b0b7054b4
commit
3bcb658c36
@ -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);
|
av_log(avctx, AV_LOG_ERROR, "buf_size %d < res %d\n", buf_size, res);
|
||||||
|
|
||||||
#else
|
#else
|
||||||
opt_w=1;
|
opt_w=4;
|
||||||
opt_h=1;
|
opt_h=4;
|
||||||
|
|
||||||
if (buf_size < s->image_width*s->image_height*3) {
|
if (buf_size < s->image_width*s->image_height*3) {
|
||||||
//Conservative upper bound check for compressed data
|
//Conservative upper bound check for compressed data
|
||||||
|
Loading…
Reference in New Issue
Block a user