diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2015-05-14 22:48:59 -0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2015-05-15 15:43:23 -0400 |
commit | 88126916c8199bacdd429a3f9eeb3b717f0d3b9a (patch) | |
tree | 5e2f1930445e1d1ad60167e51c494ac30bee1fac /libavcodec/vp9.c | |
parent | 3e634e3e98216854e7d4083d6b1f89cb79d39f9e (diff) | |
download | ffmpeg-88126916c8199bacdd429a3f9eeb3b717f0d3b9a.tar.gz |
vp9: fix crash when playing back 440/440 content with width%64<56.
Diffstat (limited to 'libavcodec/vp9.c')
-rw-r--r-- | libavcodec/vp9.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index 8e0d598127..23cf99b214 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -3314,7 +3314,7 @@ static void decode_b(AVCodecContext *ctx, int row, int col, int w = FFMIN(s->cols - col, w4) * 8 >> s->ss_h; int h = FFMIN(s->rows - row, h4) * 8 >> s->ss_v, n, o = 0; - for (n = 1; o < w; n++) { + for (n = s->ss_h; o < w; n++) { int bw = 64 >> n; av_assert2(n <= 4); |