From 9a1d198e9d2e696d2ad9f0809e5383335f57cd52 Mon Sep 17 00:00:00 2001 From: rtogni Date: Tue, 29 Jan 2008 23:50:08 +0000 Subject: 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 --- stream/asf_streaming.c | 4 ++-- 1 file 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 ); -- cgit v1.2.3