vp9: fix crash when playing back 440/440 content with width%64<56.
This commit is contained in:
parent
3e634e3e98
commit
88126916c8
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user