diff options
author | wm4 <nfxjfg@googlemail.com> | 2014-03-02 20:26:19 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-03-16 03:29:12 +0100 |
commit | facd3dbc6e0788f0e693a83e6ef16918b7eb960b (patch) | |
tree | 2acf4a7b8dba1edd4ac74a3db235d11fced7e8db /libavutil/file_open.c | |
parent | 8796c3b7d3e2904d7bc8ebfe261b53c263098935 (diff) | |
download | ffmpeg-facd3dbc6e0788f0e693a83e6ef16918b7eb960b.tar.gz |
http: handle ICY in presence of chunked transfer encoding
Some http servers send an ICY stream in combination with chunked
transfer encoding. This case was handled incorrectly by the ICY code:
instead of handling chunked encoding before anything ICY related, both
were mixed.
Fix this by separating the ICY code from normal http reading. Move the
normal http reading to a new function http_read_stream(), while
http_read() handles ICY on top of http_read_stream().
The server identified itself as: cloudflare-nginx
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 636273d3d4a8c42f51832e8bf83e566e875916bf)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 67f67a3748a038d880ed8a642184d2e3c76e29bb)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/file_open.c')
0 files changed, 0 insertions, 0 deletions