From 7c4e4c6a0664bf668f4b7766a06f30096e0601f3 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 25 Aug 2011 21:43:30 +0200 Subject: [PATCH] udp: fix circular buffer error handling Signed-off-by: Michael Niedermayer --- libavformat/udp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/udp.c b/libavformat/udp.c index a0fde28e03..151e070d19 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);