Browse Source

avcodec/mpeg12: Fix error return

Also remove a tab

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.1
Michael Niedermayer 10 years ago
parent
commit
5c02c95f2c
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/mpeg12.c

+ 2
- 2
libavcodec/mpeg12.c View File

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