gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r6082 - Extractor/src/plugins


From: gnunet
Subject: [GNUnet-SVN] r6082 - Extractor/src/plugins
Date: Mon, 7 Jan 2008 00:27:35 -0700 (MST)

Author: holindho
Date: 2008-01-07 00:27:34 -0700 (Mon, 07 Jan 2008)
New Revision: 6082

Modified:
   Extractor/src/plugins/flvextractor.c
Log:
clean up


Modified: Extractor/src/plugins/flvextractor.c
===================================================================
--- Extractor/src/plugins/flvextractor.c        2008-01-07 07:22:51 UTC (rev 
6081)
+++ Extractor/src/plugins/flvextractor.c        2008-01-07 07:27:34 UTC (rev 
6082)
@@ -847,18 +847,11 @@
                 FLVStreamInfo *stinfo,
                 struct EXTRACTOR_Keywords *prev) 
 {
-  int soundType, soundSize, soundRate, soundFormat;
+  stinfo->audioChannels = *data & 0x01;
+  stinfo->audioSampleBits = (*data & 0x02) >> 1;
+  stinfo->audioRate = (*data & 0x0C) >> 2;
+  stinfo->audioCodec = (*data & 0xF0) >> 4;
 
-  soundType = *data & 0x01;
-  soundSize = (*data & 0x02) >> 1;
-  soundRate = (*data & 0x0C) >> 2;
-  soundFormat = (*data & 0xF0) >> 4;
-
-  stinfo->audioCodec = soundFormat;
-  stinfo->audioRate = soundRate;
-  stinfo->audioChannels = soundType;
-  stinfo->audioSampleBits = soundSize;
-
   return prev;
 }
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]