[MPlayer-cvslog] r25928 - trunk/stream/asf_streaming.c

rtogni subversion at mplayerhq.hu
Wed Jan 30 00:50:08 CET 2008


Author: rtogni
Date: Wed Jan 30 00:50:08 2008
New Revision: 25928

Log:
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


Modified:
   trunk/stream/asf_streaming.c

Modified: trunk/stream/asf_streaming.c
==============================================================================
--- trunk/stream/asf_streaming.c	(original)
+++ trunk/stream/asf_streaming.c	Wed Jan 30 00:50:08 2008
@@ -594,7 +594,7 @@ static HTTP_header_t *asf_http_request(s
 						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(s
 						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 );



More information about the MPlayer-cvslog mailing list