diff options
author | Clément Bœsch <cboesch@gopro.com> | 2017-03-30 10:26:29 +0200 |
---|---|---|
committer | Clément Bœsch <cboesch@gopro.com> | 2017-03-30 10:26:29 +0200 |
commit | 03f5e80bdbbfa3229b6af3ad7bc94cc1468cc1b6 (patch) | |
tree | 22ff97ac03e7a5140ed6050060e50a8fa508c897 /libavformat | |
parent | f291a9a1adab8ba41e06073b8a9e51f528be6532 (diff) | |
parent | 67351924fa91dea4339109100a4c0689f006581f (diff) | |
download | ffmpeg-03f5e80bdbbfa3229b6af3ad7bc94cc1468cc1b6.tar.gz |
Merge commit '67351924fa91dea4339109100a4c0689f006581f'
* commit '67351924fa91dea4339109100a4c0689f006581f':
Drop unreachable break and return statements
Merged-by: Clément Bœsch <cboesch@gopro.com>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/rtpproto.c | 1 | ||||
-rw-r--r-- | libavformat/rtspdec.c | 1 | ||||
-rw-r--r-- | libavformat/smush.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c index 840a36da00..0706cae25f 100644 --- a/libavformat/rtpproto.c +++ b/libavformat/rtpproto.c @@ -512,7 +512,6 @@ static int rtp_read(URLContext *h, uint8_t *buf, int size) if (h->flags & AVIO_FLAG_NONBLOCK) return AVERROR(EAGAIN); } - return len; } static int rtp_write(URLContext *h, const uint8_t *buf, int size) diff --git a/libavformat/rtspdec.c b/libavformat/rtspdec.c index a722b98e40..0cb8f53a4c 100644 --- a/libavformat/rtspdec.c +++ b/libavformat/rtspdec.c @@ -698,7 +698,6 @@ static int rtsp_listen(AVFormatContext *s) return AVERROR_INVALIDDATA; } } - return 0; } static int rtsp_probe(AVProbeData *p) diff --git a/libavformat/smush.c b/libavformat/smush.c index 5a9249ac4f..fe544d8761 100644 --- a/libavformat/smush.c +++ b/libavformat/smush.c @@ -129,7 +129,6 @@ static int smush_read_header(AVFormatContext *ctx) break; default: return AVERROR_INVALIDDATA; - break; } } |