Commit 5c02c95f authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/mpeg12: Fix error return

Also remove a tab
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 58f21b6c
......@@ -335,7 +335,7 @@ end:
}
if (i > MAX_INDEX)
i = AVERROR_INVALIDDATA;
return AVERROR_INVALIDDATA;
block_last_index[index] = i;
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment