udp: fix circular buffer error handling

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/2/head
Michael Niedermayer 13 years ago
parent 20f0bf8cfb
commit 7c4e4c6a06
  1. 1
      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);

Loading…
Cancel
Save