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 /libavformat | |
parent | 99434f4df81b6801b2b535d5b9143305595784f6 (diff) | |
download | ffmpeg-67351924fa91dea4339109100a4c0689f006581f.tar.gz |
Drop unreachable break and return statements
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 6582e4ad76..21a96d217d 100644 --- a/libavformat/rtpproto.c +++ b/libavformat/rtpproto.c @@ -436,7 +436,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 03374dc0e6..8e8b3403e5 100644 --- a/libavformat/rtspdec.c +++ b/libavformat/rtspdec.c @@ -700,7 +700,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 262b941241..817e736bf7 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; } } |