[FFmpeg-cvslog] vp3: Assert on invalid filter_limit values.
Dale Curtis
git at videolan.org
Fri Apr 13 22:12:31 CEST 2012
ffmpeg | branch: master | Dale Curtis <dalecurtis at chromium.org> | Thu Apr 12 16:07:10 2012 -0700| [27c2fb0f721efb61f65017efa82c32c12de4287b] | committer: Ronald S. Bultje
vp3: Assert on invalid filter_limit values.
Signed-off-by: Dale Curtis <dalecurtis at chromium.org>
Signed-off-by: Ronald S. Bultje <rsbultje at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=27c2fb0f721efb61f65017efa82c32c12de4287b
---
libavcodec/vp3.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index ade8354..373f5e0 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]];
+ assert(filter_limit < 128);
/* set up the bounding values */
memset(s->bounding_values_array, 0, 256 * sizeof(int));
More information about the ffmpeg-cvslog
mailing list