diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-12-15 22:31:23 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-12-16 00:13:17 +0300 |
commit | eb7aa6bde42c01a472e67a3ab8fbf14e158cd3cc (patch) | |
tree | a9e15eeaec5b7e94284b6409a998f589946c229d /libavcodec | |
parent | c869e00f881019fa0eaf40874f92e2566b9a0410 (diff) |
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>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/h263dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index d0da1d31c1..75fc688e78 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -713,7 +713,7 @@ frame_end: } if (slice_ret < 0 && (avctx->err_recognition & AV_EF_EXPLODE)) - return ret; + return slice_ret; else return get_consumed_bytes(s, buf_size); } |