diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-10-28 14:49:40 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-10-29 19:00:49 +0300 |
commit | f563180817774e5fdd17e32992dce4fa01dbf881 (patch) | |
tree | a1b2e74fc90015783d37aa81eb6685a1a36b3bcc /libavcodec/vp3.c | |
parent | 88e3807aafd3ed50f3963c477fa92495491793e2 (diff) |
avcodec/vp3: Reuse local variable in unpack_superblocks()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/vp3.c')
-rw-r--r-- | libavcodec/vp3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index 348416b25d..d8421a8315 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -568,7 +568,7 @@ static int unpack_superblocks(Vp3DecodeContext *s, GetBitContext *gb) if (current_fragment != -1) { 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 * that cares about the fragment coding runs */ if (current_run-- == 0) { |