mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-08 16:54:03 +02:00
vc2enc: correctly zero out the slice size cache
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
This commit is contained in:
parent
14b41e061d
commit
a010e36f23
@ -715,7 +715,7 @@ static int calc_slice_sizes(VC2EncContext *s)
|
||||
args->y = slice_y;
|
||||
args->bits_ceil = s->slice_max_bytes << 3;
|
||||
args->bits_floor = s->slice_min_bytes << 3;
|
||||
memset(args, 0, s->q_ceil*sizeof(int));
|
||||
memset(args->cache, 0, s->q_ceil*sizeof(*args->cache));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user