# HG changeset patch # User reimar # Date 1104232583 0 # Node ID 04ed193d1e32cd117a10d29300810af9bffa661a # Parent 710b223604fa68775e378d468fecd11ed64f3c18 10l, variable declarations must be before mp_msg. diff -r 710b223604fa -r 04ed193d1e32 libmpdemux/asf_streaming.c --- 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;