changeset 25898:b61b5a697afc

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
author rtogni
date Tue, 29 Jan 2008 23:50:08 +0000
parents aaebaf255b23
children 9d4121fa508a
files stream/asf_streaming.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/stream/asf_streaming.c	Tue Jan 29 23:25:11 2008 +0000
+++ b/stream/asf_streaming.c	Tue Jan 29 23:50:08 2008 +0000
@@ -594,7 +594,7 @@
 						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 @@
 						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 );