aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2015-03-13 00:39:31 +0100
committerDiego Biurrun <diego@biurrun.de>2016-11-03 20:17:12 +0100
commit67351924fa91dea4339109100a4c0689f006581f (patch)
treecc181f4a144ce6d714cc3d945f721f1f1839b325 /libavformat
parent99434f4df81b6801b2b535d5b9143305595784f6 (diff)
downloadffmpeg-67351924fa91dea4339109100a4c0689f006581f.tar.gz
Drop unreachable break and return statements
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/rtpproto.c1
-rw-r--r--libavformat/rtspdec.c1
-rw-r--r--libavformat/smush.c1
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;
}
}