[FFmpeg-cvslog] udp: remove dead code line (unused result)
Andrey Utkin
git at videolan.org
Mon Mar 12 22:10:21 CET 2012
ffmpeg | branch: master | Andrey Utkin <andrey.krieger.utkin at gmail.com> | Mon Mar 12 17:09:52 2012 +0200| [a2eecc110b6f3ed1fe924a687a66bac703981299] | committer: Michael Niedermayer
udp: remove dead code line (unused result)
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a2eecc110b6f3ed1fe924a687a66bac703981299
---
libavformat/udp.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/libavformat/udp.c b/libavformat/udp.c
index cfc5ae5..b914f9b 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)) {
More information about the ffmpeg-cvslog
mailing list