summaryrefslogtreecommitdiff
path: root/libavformat/rtpproto.c
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/rtpproto.c
parent99434f4df81b6801b2b535d5b9143305595784f6 (diff)
Drop unreachable break and return statements
Diffstat (limited to 'libavformat/rtpproto.c')
-rw-r--r--libavformat/rtpproto.c1
1 files changed, 0 insertions, 1 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)