1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

tscc2: fix typo in array index

This commit is contained in:
Kostya Shishkov 2012-07-26 19:42:22 +02:00
parent b9d3c37848
commit 0cf7d849ff

View File

@ -298,8 +298,8 @@ static int tscc2_decode_frame(AVCodecContext *avctx, void *data,
if (!size) { if (!size) {
int skip_row = 1, j, off = i * c->mb_width; int skip_row = 1, j, off = i * c->mb_width;
for (j = 0; j < c->mb_width; j++) { for (j = 0; j < c->mb_width; j++) {
if (c->slice_quants[off + i] == 1 || if (c->slice_quants[off + j] == 1 ||
c->slice_quants[off + i] == 2) { c->slice_quants[off + j] == 2) {
skip_row = 0; skip_row = 0;
break; break;
} }