[FFmpeg-devel] [PATCH 4/7] rtpproto: Remove dead code

Timothy Gu timothygu99 at gmail.com
Fri Feb 6 08:06:42 CET 2015


---
 libavformat/rtpproto.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c
index b6b8924..59311be 100644
--- a/libavformat/rtpproto.c
+++ b/libavformat/rtpproto.c
@@ -425,7 +425,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)
-- 
1.9.1



More information about the ffmpeg-devel mailing list