Browse Source

tscc2: fix typo in array index

tags/n1.0
Kostya Shishkov 13 years ago
parent
commit
0cf7d849ff
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/tscc2.c

+ 2
- 2
libavcodec/tscc2.c View File

@@ -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;
}


Loading…
Cancel
Save