Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-02-16 23:36:29 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2016-02-16 23:47:56 +0300
commit2e8ad2d65af575de2baca3b97dd646827bd4a0bc (patch)
tree524c7bed1e67b506c3bb874be8ec860526db4b72 /libavcodec/eatqi.c
parent5c02c95f2c2a9302446b8abdad6ca2c0f1d1e821 (diff)
avcodec/mpeg12: Remove duplicate block_last_index setting code
Based on 7c25ffe070c286874a8c3513f7504b90e1626b0c and 58dd885f9ae7feee002773253e345e11e7142739 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/eatqi.c')
-rw-r--r--libavcodec/eatqi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/eatqi.c b/libavcodec/eatqi.c
index 8688f59193..d3b2a971a2 100644
--- a/libavcodec/eatqi.c
+++ b/libavcodec/eatqi.c
@@ -51,7 +51,6 @@ typedef struct TqiContext {
int last_dc[3];
DECLARE_ALIGNED(16, int16_t, block)[6][64];
- int block_last_index[12];
} TqiContext;
static av_cold int tqi_decode_init(AVCodecContext *avctx)
@@ -79,7 +78,7 @@ static int tqi_decode_mb(TqiContext *t, int16_t (*block)[64])
int ret = ff_mpeg1_decode_block_intra(&t->gb,
t->intra_matrix,
t->intra_scantable.permutated,
- t->last_dc, block[n], n, 1, t->block_last_index);
+ t->last_dc, block[n], n, 1);
if (ret < 0)
return -1;
}