avcodec/mpeg12: Fix error return

Also remove a tab

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/178/head
Michael Niedermayer 9 years ago
parent 58f21b6c93
commit 5c02c95f2c
  1. 4
      libavcodec/mpeg12.c

@ -334,8 +334,8 @@ end:
CLOSE_READER(re, gb);
}
if (i > MAX_INDEX)
i = AVERROR_INVALIDDATA;
if (i > MAX_INDEX)
return AVERROR_INVALIDDATA;
block_last_index[index] = i;
return 0;

Loading…
Cancel
Save