diff options
author | Max Kellermann <max@duempel.org> | 2008-11-02 17:06:15 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-02 17:06:15 +0100 |
commit | 460b15d29c125a70c37dd484fb0268698331504d (patch) | |
tree | b1d19d118b72052e33c28d91213de2f5fd26902d /src/decoder/_ogg_common.c | |
parent | 020c04e7020226a258e6dbffe3435944264823d1 (diff) | |
download | mpd-460b15d29c125a70c37dd484fb0268698331504d.tar.gz mpd-460b15d29c125a70c37dd484fb0268698331504d.tar.xz mpd-460b15d29c125a70c37dd484fb0268698331504d.zip |
input_curl: buffered rewinding
During codec detection, the beginning of the stream is consumed. This
is a common operation, which takes a lot of time when handling remote
resources. To optimize this, remember the first 64 kB of a stream.
This way, we can rewind the stream without actually fetching the start
of the stream again.
Diffstat (limited to 'src/decoder/_ogg_common.c')
0 files changed, 0 insertions, 0 deletions