[vlc-commits] flac packetizer: Cosmetic

Hugo Beauzée-Luyssen git at videolan.org
Fri Feb 3 12:51:51 CET 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Jan 31 13:24:32 2017 +0100| [462d2a694c9bb6349c474c38300c81f2f8d20513] | committer: Hugo Beauzée-Luyssen

flac packetizer: Cosmetic

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=462d2a694c9bb6349c474c38300c81f2f8d20513
---

 modules/packetizer/flac.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/packetizer/flac.c b/modules/packetizer/flac.c
index 9abe992..fbe161e 100644
--- a/modules/packetizer/flac.c
+++ b/modules/packetizer/flac.c
@@ -393,7 +393,7 @@ static int SyncInfo(decoder_t *p_dec, uint8_t *p_buf,
             return 0;
 
     /* Find samplerate */
-    int samplerate_hint = p_buf[2] & 0xf;;
+    int samplerate_hint = p_buf[2] & 0xf;
     unsigned int samplerate;
     if (samplerate_hint == 0) {
         if (p_sys->b_stream_info)
@@ -406,7 +406,7 @@ static int SyncInfo(decoder_t *p_dec, uint8_t *p_buf,
         static const int16_t flac_samplerate[12] = {
             0,    8820, 17640, 19200,
             800,  1600, 2205,  2400,
-            3200, 4410, 4800,  9600, 
+            3200, 4410, 4800,  9600,
         };
         samplerate = flac_samplerate[samplerate_hint] * 10;
     } else {



More information about the vlc-commits mailing list