diff options
author | Dale Curtis <dalecurtis@chromium.org> | 2012-04-12 16:07:10 -0700 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-04-13 02:12:22 +0200 |
commit | e9dc616472081f13827dbb19999f515abb61f3ae (patch) | |
tree | f670e7f1835766434972b3b8e8baed91c8367258 /libavcodec/vp3.c | |
parent | bd3ea317976820bf921f44c3829a2c48f80823fa (diff) | |
download | ffmpeg-streaming-e9dc616472081f13827dbb19999f515abb61f3ae.zip ffmpeg-streaming-e9dc616472081f13827dbb19999f515abb61f3ae.tar.gz |
vp3: Assert on invalid filter_limit values.
Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vp3.c')
-rw-r--r-- | libavcodec/vp3.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index e94264e..923ddfb 100644 --- a/libavcodec/vp3.c +++ b/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]]; + av_assert0(filter_limit < 128U); /* set up the bounding values */ memset(s->bounding_values_array, 0, 256 * sizeof(int)); |