mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue