Browse Source

udp: fix circular buffer error handling

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9
Michael Niedermayer 14 years ago
parent
commit
7c4e4c6a06
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/udp.c

+ 1
- 0
libavformat/udp.c 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);


Loading…
Cancel
Save