mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/h263dec: Return the correct error code in explode mode
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
c869e00f88
commit
eb7aa6bde4
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue