Browse Source

vc2enc: correctly zero out the slice size cache

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
tags/n3.1
Rostislav Pehlivanov 10 years ago
parent
commit
a010e36f23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/vc2enc.c

+ 1
- 1
libavcodec/vc2enc.c View File

@@ -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…
Cancel
Save