diff options
author | Diego Biurrun <diego@biurrun.de> | 2015-03-13 00:39:31 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-11-03 20:17:12 +0100 |
commit | 67351924fa91dea4339109100a4c0689f006581f (patch) | |
tree | cc181f4a144ce6d714cc3d945f721f1f1839b325 /libavcodec | |
parent | 99434f4df81b6801b2b535d5b9143305595784f6 (diff) | |
download | ffmpeg-streaming-67351924fa91dea4339109100a4c0689f006581f.zip ffmpeg-streaming-67351924fa91dea4339109100a4c0689f006581f.tar.gz |
Drop unreachable break and return statements
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/bmvvideo.c | 1 | ||||
-rw-r--r-- | libavcodec/hevc_sei.c | 1 | ||||
-rw-r--r-- | libavcodec/indeo3.c | 2 | ||||
-rw-r--r-- | libavcodec/sanm.c | 3 |
4 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/bmvvideo.c b/libavcodec/bmvvideo.c index f4b8f29..4fb42f0 100644 --- a/libavcodec/bmvvideo.c +++ b/libavcodec/bmvvideo.c @@ -191,7 +191,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 8865cec..8c913f9 100644 --- a/libavcodec/hevc_sei.c +++ b/libavcodec/hevc_sei.c @@ -173,7 +173,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 0; } static int more_rbsp_data(GetBitContext *gb) diff --git a/libavcodec/indeo3.c b/libavcodec/indeo3.c index 89c11e6..314548f 100644 --- a/libavcodec/indeo3.c +++ b/libavcodec/indeo3.c @@ -831,8 +831,6 @@ static int parse_bintree(Indeo3DecodeContext *ctx, AVCodecContext *avctx, break; } }//while - - return 0; } diff --git a/libavcodec/sanm.c b/libavcodec/sanm.c index 3d23195..7b00049 100644 --- a/libavcodec/sanm.c +++ b/libavcodec/sanm.c @@ -926,13 +926,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; |