summaryrefslogtreecommitdiff
path: root/libavformat/rtpproto.c
diff options
context:
space:
mode:
authorClément Bœsch <cboesch@gopro.com>2017-03-30 10:26:29 +0200
committerClément Bœsch <cboesch@gopro.com>2017-03-30 10:26:29 +0200
commit03f5e80bdbbfa3229b6af3ad7bc94cc1468cc1b6 (patch)
tree22ff97ac03e7a5140ed6050060e50a8fa508c897 /libavformat/rtpproto.c
parentf291a9a1adab8ba41e06073b8a9e51f528be6532 (diff)
parent67351924fa91dea4339109100a4c0689f006581f (diff)
Merge commit '67351924fa91dea4339109100a4c0689f006581f'
* commit '67351924fa91dea4339109100a4c0689f006581f': Drop unreachable break and return statements Merged-by: Clément Bœsch <cboesch@gopro.com>
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 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)