diff options
author | Mans Rullgard <mans@mansr.com> | 2011-07-03 02:37:03 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-07-03 03:15:53 +0100 |
commit | b27565b1432f8bb2c933afa184ace6582ad650ee (patch) | |
tree | d19025a322659176b11102caf537e81cec1398b7 /libavcodec | |
parent | 050f2b3e7f3a98bc824cfcaf4c825ed4c643e21c (diff) | |
download | ffmpeg-b27565b1432f8bb2c933afa184ace6582ad650ee.tar.gz |
Remove statements immediately following unconditional jumps
This removes a number of compiler warnings.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/cook.c | 1 | ||||
-rw-r--r-- | libavcodec/flicvideo.c | 1 | ||||
-rw-r--r-- | libavcodec/mjpegdec.c | 1 | ||||
-rw-r--r-- | libavcodec/pcm.c | 1 | ||||
-rw-r--r-- | libavcodec/shorten.c | 3 |
5 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/cook.c b/libavcodec/cook.c index 84211a6d08..8d1078145e 100644 --- a/libavcodec/cook.c +++ b/libavcodec/cook.c @@ -1156,7 +1156,6 @@ static av_cold int cook_decode_init(AVCodecContext *avctx) default: av_log_ask_for_sample(avctx, "Unknown Cook version.\n"); return -1; - break; } if(s > 1 && q->subpacket[s].samples_per_channel != q->samples_per_channel) { diff --git a/libavcodec/flicvideo.c b/libavcodec/flicvideo.c index ed9972c018..e8c0e14386 100644 --- a/libavcodec/flicvideo.c +++ b/libavcodec/flicvideo.c @@ -112,7 +112,6 @@ static av_cold int flic_decode_init(AVCodecContext *avctx) case 24 : avctx->pix_fmt = PIX_FMT_BGR24; /* Supposedly BGR, but havent any files to test with */ av_log(avctx, AV_LOG_ERROR, "24Bpp FLC/FLX is unsupported due to no test files.\n"); return -1; - break; default : av_log(avctx, AV_LOG_ERROR, "Unknown FLC/FLX depth of %d Bpp is unsupported.\n",depth); return -1; diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index 3946df6472..4684190e08 100644 --- a/libavcodec/mjpegdec.c +++ b/libavcodec/mjpegdec.c @@ -1540,7 +1540,6 @@ eoi_parser: } goto the_end; - break; case SOS: if (!s->got_picture) { av_log(avctx, AV_LOG_WARNING, "Can not process SOS before SOF, skipping\n"); diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c index 9100646179..2ad395dd0e 100644 --- a/libavcodec/pcm.c +++ b/libavcodec/pcm.c @@ -440,7 +440,6 @@ static int pcm_decode_frame(AVCodecContext *avctx, default: av_log(avctx, AV_LOG_ERROR, "PCM DVD unsupported sample depth\n"); return -1; - break; } samples = (short *) dst_int32_t; break; diff --git a/libavcodec/shorten.c b/libavcodec/shorten.c index a6e00750e9..e4dfa7c59f 100644 --- a/libavcodec/shorten.c +++ b/libavcodec/shorten.c @@ -471,7 +471,6 @@ static int shorten_decode_frame(AVCodecContext *avctx, s->cur_chan = 0; goto frame_done; } - break; } break; case FN_VERBATIM: @@ -489,11 +488,9 @@ static int shorten_decode_frame(AVCodecContext *avctx, case FN_QUIT: *data_size = 0; return buf_size; - break; default: av_log(avctx, AV_LOG_ERROR, "unknown shorten function %d\n", cmd); return -1; - break; } } frame_done: |