Browse Source

udp: allow fifo size to be tuned seperately

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

+ 1
- 1
libavformat/udp.c View File

@@ -426,7 +426,7 @@ static int udp_open(URLContext *h, const char *uri, int flags)
if (av_find_info_tag(buf, sizeof(buf), "connect", p)) { if (av_find_info_tag(buf, sizeof(buf), "connect", p)) {
s->is_connected = strtol(buf, NULL, 10); s->is_connected = strtol(buf, NULL, 10);
} }
if (av_find_info_tag(buf, sizeof(buf), "buf_size", p)) {
if (av_find_info_tag(buf, sizeof(buf), "fifo_size", p)) {
s->circular_buffer_size = strtol(buf, NULL, 10)*188; s->circular_buffer_size = strtol(buf, NULL, 10)*188;
} }
} }


Loading…
Cancel
Save