[xiph-commits] r11272 - trunk/xiph-qt/OggImport/src

arek at svn.xiph.org arek at svn.xiph.org
Mon Apr 24 15:22:17 PDT 2006


Author: arek
Date: 2006-04-24 15:22:14 -0700 (Mon, 24 Apr 2006)
New Revision: 11272

Modified:
   trunk/xiph-qt/OggImport/src/stream_flac.c
Log:
Oops, this is C. Not C++. Not python. C.

Modified: trunk/xiph-qt/OggImport/src/stream_flac.c
===================================================================
--- trunk/xiph-qt/OggImport/src/stream_flac.c	2006-04-24 22:12:39 UTC (rev 11271)
+++ trunk/xiph-qt/OggImport/src/stream_flac.c	2006-04-24 22:22:14 UTC (rev 11272)
@@ -162,8 +162,8 @@
                                       EndianS32_NtoB(ogg_page_serialno(op)) };
     unsigned long atomhead[2] = { EndianU32_NtoB(opckt->bytes + sizeof(atomhead)), EndianU32_NtoB(kCookieTypeFLACStreaminfo) };
 
+    UInt32 sib = EndianU32_BtoN(* (UInt32 *) (((char *)opckt->packet) + 27));
     si->si_flac.metablocks =  (SInt32) EndianU16_BtoN(* (UInt16 *) (((char *)opckt->packet) + 7));
-    UInt32 sib = EndianU32_BtoN(* (UInt32 *) (((char *)opckt->packet) + 27));
 
     sib >>= 4;
     si->si_flac.bps = (sib & 0x1f) + 1;



More information about the commits mailing list