vp3: Assert on invalid filter_limit values.

Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
pull/5/head
Dale Curtis 13 years ago committed by Ronald S. Bultje
parent 76538d7a78
commit 27c2fb0f72
  1. 1
      libavcodec/vp3.c

@ -396,6 +396,7 @@ static void init_loop_filter(Vp3DecodeContext *s)
int value;
filter_limit = s->filter_limit_values[s->qps[0]];
assert(filter_limit < 128);
/* set up the bounding values */
memset(s->bounding_values_array, 0, 256 * sizeof(int));

Loading…
Cancel
Save