Commit f5631808 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/vp3: Reuse local variable in unpack_superblocks()

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 88e3807a
...@@ -568,7 +568,7 @@ static int unpack_superblocks(Vp3DecodeContext *s, GetBitContext *gb) ...@@ -568,7 +568,7 @@ static int unpack_superblocks(Vp3DecodeContext *s, GetBitContext *gb)
if (current_fragment != -1) { if (current_fragment != -1) {
int coded = s->superblock_coding[i]; int coded = s->superblock_coding[i];
if (s->superblock_coding[i] == SB_PARTIALLY_CODED) { if (coded == SB_PARTIALLY_CODED) {
/* fragment may or may not be coded; this is the case /* fragment may or may not be coded; this is the case
* that cares about the fragment coding runs */ * that cares about the fragment coding runs */
if (current_run-- == 0) { if (current_run-- == 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment