aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-08-25 21:43:30 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-08-25 21:43:30 +0200
commit7c4e4c6a0664bf668f4b7766a06f30096e0601f3 (patch)
tree1b1d9e3838f7e9e1cb057199b1c7e0cf54fa2652
parent20f0bf8cfbd7518d8e615543c1bb18143f5c8654 (diff)
downloadffmpeg-7c4e4c6a0664bf668f4b7766a06f30096e0601f3.tar.gz
udp: fix circular buffer error handling
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/udp.c1
1 files changed, 1 insertions, 0 deletions
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);