diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2012-07-26 19:42:22 +0200 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2012-07-27 07:34:38 +0200 |
commit | 0cf7d849ffcd82ef4b8279b0a5aec306c29717f7 (patch) | |
tree | 16cadb11e87c6ef21ada0578dd9a9a96544247c7 /libavcodec/tscc2.c | |
parent | b9d3c3784865090e202483c73cc158f7d3918771 (diff) | |
download | ffmpeg-0cf7d849ffcd82ef4b8279b0a5aec306c29717f7.tar.gz |
tscc2: fix typo in array index
Diffstat (limited to 'libavcodec/tscc2.c')
-rw-r--r-- | libavcodec/tscc2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/tscc2.c b/libavcodec/tscc2.c index 5248c9f4ec..42f78371eb 100644 --- a/libavcodec/tscc2.c +++ b/libavcodec/tscc2.c @@ -298,8 +298,8 @@ static int tscc2_decode_frame(AVCodecContext *avctx, void *data, if (!size) { int skip_row = 1, j, off = i * c->mb_width; for (j = 0; j < c->mb_width; j++) { - if (c->slice_quants[off + i] == 1 || - c->slice_quants[off + i] == 2) { + if (c->slice_quants[off + j] == 1 || + c->slice_quants[off + j] == 2) { skip_row = 0; break; } |