changeset 14262:04ed193d1e32

10l, variable declarations must be before mp_msg.
author reimar
date Tue, 28 Dec 2004 11:16:23 +0000
parents 710b223604fa
children bc80d39d19e8
files libmpdemux/asf_streaming.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/asf_streaming.c	Tue Dec 28 02:00:23 2004 +0000
+++ b/libmpdemux/asf_streaming.c	Tue Dec 28 11:16:23 2004 +0000
@@ -299,10 +299,10 @@
   pos = find_asf_guid(buffer, asf_stream_group_guid, start, size);
   if (pos >= 0) {
     // stream bitrate properties object
-	mp_msg(MSGT_NETWORK, MSGL_V, "Stream bitrate properties object\n");
 	int stream_count;
 	char *ptr = &buffer[pos];
 	
+	mp_msg(MSGT_NETWORK, MSGL_V, "Stream bitrate properties object\n");
 		stream_count = le2me_16(*(uint16_t*)ptr);
 		ptr += sizeof(uint16_t);
 		if (ptr > &buffer[size]) goto len_err_out;