[vlc-commits] codec: lpcm: remove noop

Francois Cartegnie git at videolan.org
Fri Mar 10 15:16:21 CET 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Mar 10 14:57:43 2017 +0100| [092e9449fc80dfefd7e4e400a5c8ac77bbf2b591] | committer: Francois Cartegnie

codec: lpcm: remove noop

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

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

diff --git a/modules/codec/lpcm.c b/modules/codec/lpcm.c
index 473a86d..72c31cd 100644
--- a/modules/codec/lpcm.c
+++ b/modules/codec/lpcm.c
@@ -847,9 +847,9 @@ static int AobHeader( unsigned *pi_rate,
      *         + 3 bytes (1 for continuity counter + 2 for header_size ) */
     *pi_padding = 3 + i_header_size - LPCM_AOB_HEADER_LEN;
 
-    const int i_index_size_g1 = (p_header[6] >> 4) & 0x0f;
+    const int i_index_size_g1 = (p_header[6] >> 4);
     const int i_index_size_g2 = (p_header[6]     ) & 0x0f;
-    const int i_index_rate_g1 = (p_header[7] >> 4) & 0x0f;
+    const int i_index_rate_g1 = (p_header[7] >> 4);
     const int i_index_rate_g2 = (p_header[7]     ) & 0x0f;
     const int i_assignment     = p_header[9];
 



More information about the vlc-commits mailing list