[vlc-commits] lpcm: remove dead code

Rémi Denis-Courmont git at videolan.org
Fri Aug 21 19:14:26 CEST 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Aug 21 20:10:24 2015 +0300| [3b91f52906607366b44b7eca01040839ba401e76] | committer: Rémi Denis-Courmont

lpcm: remove dead code

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

 modules/codec/lpcm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/lpcm.c b/modules/codec/lpcm.c
index 7019538..a9f6a4b 100644
--- a/modules/codec/lpcm.c
+++ b/modules/codec/lpcm.c
@@ -813,7 +813,7 @@ static int AobHeader( unsigned *pi_rate,
 
     /* */
     /* max is 0x2, 0xf == unused */
-    g[0].i_bits = ( i_index_size_g1 != 0x0f ) ? 16 + 4 * i_index_size_g1 : 0;
+    g[0].i_bits = 16 + 4 * i_index_size_g1;
     g[1].i_bits = ( i_index_size_g2 != 0x0f ) ? 16 + 4 * i_index_size_g2 : 0;
 
     /* No info about interlacing of different sampling rate */



More information about the vlc-commits mailing list