udp: remove dead code line (unused result)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Andrey Utkin 2012-03-12 17:09:52 +02:00 committed by Michael Niedermayer
parent b0a0e83aee
commit a2eecc110b

View File

@ -364,7 +364,6 @@ static void *circular_buffer_task( void *_URLContext)
s->circular_buffer_error = AVERROR(EIO); s->circular_buffer_error = AVERROR(EIO);
goto end; goto end;
} }
left = FFMIN(left, s->fifo->end - s->fifo->wptr);
len = recv(s->udp_fd, s->tmp+4, sizeof(s->tmp)-4, 0); len = recv(s->udp_fd, s->tmp+4, sizeof(s->tmp)-4, 0);
if (len < 0) { if (len < 0) {
if (ff_neterrno() != AVERROR(EAGAIN) && ff_neterrno() != AVERROR(EINTR)) { if (ff_neterrno() != AVERROR(EAGAIN) && ff_neterrno() != AVERROR(EINTR)) {