These statements cannot be reached and are thus not needed.
This removes a number of compiler warnings.
Signed-off-by: Mans Rullgard <mans@mansr.com>
... | ... |
@@ -1099,8 +1099,6 @@ static int asf_read_packet(AVFormatContext *s, AVPacket *pkt) |
1099 | 1099 |
assert(asf->packet_size_left < FRAME_HEADER_SIZE || asf->packet_segments < 1); |
1100 | 1100 |
asf->packet_time_start = 0; |
1101 | 1101 |
} |
1102 |
- |
|
1103 |
- return 0; |
|
1104 | 1102 |
} |
1105 | 1103 |
|
1106 | 1104 |
// Added to support seeking after packets have been read |
... | ... |
@@ -220,8 +220,6 @@ static int vid_read_packet(AVFormatContext *s, |
220 | 220 |
av_log(s, AV_LOG_ERROR, "unknown block (character = %c, decimal = %d, hex = %x)!!!\n", |
221 | 221 |
block_type, block_type, block_type); return -1; |
222 | 222 |
} |
223 |
- |
|
224 |
- return 0; |
|
225 | 223 |
} |
226 | 224 |
|
227 | 225 |
AVInputFormat ff_bethsoftvid_demuxer = { |