diff options
author | rtogni <rtogni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-01-29 23:50:08 +0000 |
---|---|---|
committer | rtogni <rtogni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-01-29 23:50:08 +0000 |
commit | 9a1d198e9d2e696d2ad9f0809e5383335f57cd52 (patch) | |
tree | 600f26f849da8d64c37697dab171211db0800b92 /stream | |
parent | a022eca50cbd12d7cb75aac6b4aefb9edecdfb2e (diff) | |
download | mpv-9a1d198e9d2e696d2ad9f0809e5383335f57cd52.tar.bz2 mpv-9a1d198e9d2e696d2ad9f0809e5383335f57cd52.tar.xz |
Stream IDs must be written as hex numbers. Fixes
http://wm.streampower.be/ceu/archive/CEU_COUNCIL_DELIBIRATIONS_PUBLIC_DEBATE/ceulive_1443.wmv
Patch by Peter Collingbourne pcc03 doc ic ac uk
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25928 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r-- | stream/asf_streaming.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stream/asf_streaming.c b/stream/asf_streaming.c index 856cc1cd12..6db07344af 100644 --- a/stream/asf_streaming.c +++ b/stream/asf_streaming.c @@ -594,7 +594,7 @@ static HTTP_header_t *asf_http_request(streaming_ctrl_t *streaming_ctrl) { continue; } asf_nb_stream++; - ptr += sprintf(ptr, "ffff:%d:%d ", stream_id, enable); + ptr += sprintf(ptr, "ffff:%x:%d ", stream_id, enable); } } if(asf_http_ctrl->n_video > 0) { @@ -607,7 +607,7 @@ static HTTP_header_t *asf_http_request(streaming_ctrl_t *streaming_ctrl) { continue; } asf_nb_stream++; - ptr += sprintf(ptr, "ffff:%d:%d ", stream_id, enable); + ptr += sprintf(ptr, "ffff:%x:%d ", stream_id, enable); } } http_set_field( http_hdr, str ); |