udp: fix circular buffer error handling

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-08-25 21:43:30 +02:00
parent 20f0bf8cfb
commit 7c4e4c6a06
1 changed files with 1 additions and 0 deletions

View 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);