aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/udp.c
diff options
context:
space:
mode:
authorAndrey Utkin <andrey.krieger.utkin@gmail.com>2012-03-12 17:09:52 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-03-12 21:49:33 +0100
commita2eecc110b6f3ed1fe924a687a66bac703981299 (patch)
tree555f9ce5729af788c89db0dfc73845cde7fa2c64 /libavformat/udp.c
parentb0a0e83aee01bfecd8b789789d8522750f6ce9de (diff)
downloadffmpeg-a2eecc110b6f3ed1fe924a687a66bac703981299.tar.gz
udp: remove dead code line (unused result)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/udp.c')
-rw-r--r--libavformat/udp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/udp.c b/libavformat/udp.c
index cfc5ae51db..b914f9b7e1 100644
--- a/libavformat/udp.c
+++ b/libavformat/udp.c
@@ -364,7 +364,6 @@ static void *circular_buffer_task( void *_URLContext)
s->circular_buffer_error = AVERROR(EIO);
goto end;
}
- left = FFMIN(left, s->fifo->end - s->fifo->wptr);
len = recv(s->udp_fd, s->tmp+4, sizeof(s->tmp)-4, 0);
if (len < 0) {
if (ff_neterrno() != AVERROR(EAGAIN) && ff_neterrno() != AVERROR(EINTR)) {