diff options
author | Clément Bœsch | 2017-03-30 10:26:29 +0200 |
---|---|---|
committer | Clément Bœsch | 2017-03-30 10:26:29 +0200 |
commit | 03f5e80bdbbfa3229b6af3ad7bc94cc1468cc1b6 (patch) | |
tree | 22ff97ac03e7a5140ed6050060e50a8fa508c897 /libavcodec | |
parent | f291a9a1adab8ba41e06073b8a9e51f528be6532 (diff) | |
parent | 67351924fa91dea4339109100a4c0689f006581f (diff) |
Merge commit '67351924fa91dea4339109100a4c0689f006581f'
* commit '67351924fa91dea4339109100a4c0689f006581f':
Drop unreachable break and return statements
Merged-by: Clément Bœsch <cboesch@gopro.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/bmvvideo.c | 1 | ||||
-rw-r--r-- | libavcodec/hevc_sei.c | 1 | ||||
-rw-r--r-- | libavcodec/sanm.c | 3 |
3 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/bmvvideo.c b/libavcodec/bmvvideo.c index dbbc1001ca..78a0945b7a 100644 --- a/libavcodec/bmvvideo.c +++ b/libavcodec/bmvvideo.c @@ -193,7 +193,6 @@ static int decode_bmv_frame(const uint8_t *source, int src_len, uint8_t *frame, if (dst == dst_end) return 0; } - return 0; } static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, diff --git a/libavcodec/hevc_sei.c b/libavcodec/hevc_sei.c index a4b93c2b3f..8fc026cf1e 100644 --- a/libavcodec/hevc_sei.c +++ b/libavcodec/hevc_sei.c @@ -354,7 +354,6 @@ static int decode_nal_sei_message(HEVCContext *s) } else { /* nal_unit_type == NAL_SEI_SUFFIX */ return decode_nal_sei_suffix(s, payload_type, payload_size); } - return 1; } static int more_rbsp_data(GetBitContext *gb) diff --git a/libavcodec/sanm.c b/libavcodec/sanm.c index bac6fb41e4..dab9e410c3 100644 --- a/libavcodec/sanm.c +++ b/libavcodec/sanm.c @@ -978,13 +978,10 @@ static int process_frame_obj(SANMVideoContext *ctx) case 1: case 3: return old_codec1(ctx, top, left, w, h); - break; case 37: return old_codec37(ctx, top, left, w, h); - break; case 47: return old_codec47(ctx, top, left, w, h); - break; default: avpriv_request_sample(ctx->avctx, "Subcodec %d", codec); return AVERROR_PATCHWELCOME; |