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 /libavformat | |
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 'libavformat')
-rw-r--r-- | libavformat/a64.c | 1 | ||||
-rw-r--r-- | libavformat/idroqdec.c | 1 | ||||
-rw-r--r-- | libavformat/oma.c | 1 | ||||
-rw-r--r-- | libavformat/psxstr.c | 1 | ||||
-rw-r--r-- | libavformat/wc3movie.c | 1 |
5 files changed, 0 insertions, 5 deletions
diff --git a/libavformat/a64.c b/libavformat/a64.c index 0e5576b651..3d313e5fba 100644 --- a/libavformat/a64.c +++ b/libavformat/a64.c @@ -55,7 +55,6 @@ static int a64_write_header(struct AVFormatContext *s) break; default: return AVERROR(EINVAL); - break; } avio_write(s->pb, header, 2); c->prev_pkt.size = 0; diff --git a/libavformat/idroqdec.c b/libavformat/idroqdec.c index 8e991c57d9..d9315966ea 100644 --- a/libavformat/idroqdec.c +++ b/libavformat/idroqdec.c @@ -209,7 +209,6 @@ static int roq_read_packet(AVFormatContext *s, default: av_log(s, AV_LOG_ERROR, " unknown RoQ chunk (%04X)\n", chunk_type); return AVERROR_INVALIDDATA; - break; } } diff --git a/libavformat/oma.c b/libavformat/oma.c index 6fdf75f17c..0ec81ebefb 100644 --- a/libavformat/oma.c +++ b/libavformat/oma.c @@ -149,7 +149,6 @@ static int oma_read_header(AVFormatContext *s, default: av_log(s, AV_LOG_ERROR, "Unsupported codec %d!\n",buf[32]); return -1; - break; } st->codec->block_align = framesize; diff --git a/libavformat/psxstr.c b/libavformat/psxstr.c index b7a9d3b250..646244238c 100644 --- a/libavformat/psxstr.c +++ b/libavformat/psxstr.c @@ -234,7 +234,6 @@ static int str_read_packet(AVFormatContext *s, pkt->stream_index = str->channels[channel].audio_stream_index; return 0; - break; default: av_log(s, AV_LOG_WARNING, "Unknown sector type %02X\n", sector[0x12]); /* drop the sector and move on */ diff --git a/libavformat/wc3movie.c b/libavformat/wc3movie.c index e57a9bf844..03483de737 100644 --- a/libavformat/wc3movie.c +++ b/libavformat/wc3movie.c @@ -152,7 +152,6 @@ static int wc3_read_header(AVFormatContext *s, (uint8_t)fourcc_tag, (uint8_t)(fourcc_tag >> 8), (uint8_t)(fourcc_tag >> 16), (uint8_t)(fourcc_tag >> 24), (uint8_t)fourcc_tag, (uint8_t)(fourcc_tag >> 8), (uint8_t)(fourcc_tag >> 16), (uint8_t)(fourcc_tag >> 24)); return AVERROR_INVALIDDATA; - break; } fourcc_tag = avio_rl32(pb); |