[FFmpeg-cvslog] udp: fix circular buffer error handling

Michael Niedermayer git at videolan.org
Thu Aug 25 22:39:46 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Aug 25 21:43:30 2011 +0200| [7c4e4c6a0664bf668f4b7766a06f30096e0601f3] | committer: Michael Niedermayer

udp: fix circular buffer error handling

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7c4e4c6a0664bf668f4b7766a06f30096e0601f3
---

 libavformat/udp.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavformat/udp.c b/libavformat/udp.c
index a0fde28..151e070 100644
--- a/libavformat/udp.c
+++ b/libavformat/udp.c
@@ -364,6 +364,7 @@ static void *circular_buffer_task( void *_URLContext)
                 s->circular_buffer_error = EIO;
                 return NULL;
             }
+            continue;
         }
         AV_WL32(s->tmp, len);
         av_fifo_generic_write(s->fifo, s->tmp, len+4, NULL);



More information about the ffmpeg-cvslog mailing list