udp: fix circular buffer error handling
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 25 Aug 2011 19:43:30 +0000 (21:43 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 25 Aug 2011 19:43:30 +0000 (21:43 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/udp.c

index a0fde28..151e070 100644 (file)
@@ -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);