avcodec/mpeg12: Fix error return
Also remove a tab Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
58f21b6c93
commit
5c02c95f2c
@ -334,8 +334,8 @@ end:
|
|||||||
CLOSE_READER(re, gb);
|
CLOSE_READER(re, gb);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (i > MAX_INDEX)
|
if (i > MAX_INDEX)
|
||||||
i = AVERROR_INVALIDDATA;
|
return AVERROR_INVALIDDATA;
|
||||||
|
|
||||||
block_last_index[index] = i;
|
block_last_index[index] = i;
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user