Commit eb7aa6bd authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/h263dec: Return the correct error code in explode mode

Reviewed-by: 's avatarPaul B Mahol <onemda@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent c869e00f
...@@ -713,7 +713,7 @@ frame_end: ...@@ -713,7 +713,7 @@ frame_end:
} }
if (slice_ret < 0 && (avctx->err_recognition & AV_EF_EXPLODE)) if (slice_ret < 0 && (avctx->err_recognition & AV_EF_EXPLODE))
return ret; return slice_ret;
else else
return get_consumed_bytes(s, buf_size); return get_consumed_bytes(s, buf_size);
} }
......
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