Browse Source

vp3: fix streams with non-zero last coefficient

Fixes a regression introduced in 8b94df0f20.
tags/n0.10
Janne Grunau 13 years ago
parent
commit
9b4767e478
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/vp3.c

+ 2
- 0
libavcodec/vp3.c View File

@@ -1378,6 +1378,8 @@ static inline int vp3_dequant(Vp3DecodeContext *s, Vp3Fragment *frag,
return i;
}
} while (i < 64);
// return value is expected to be a valid level
i--;
end:
// the actual DC+prediction is in the fragment structure
block[0] = frag->dc * s->qmat[0][inter][plane][0];


Loading…
Cancel
Save