[MPlayer-cvslog] r25177 - trunk/libmpcodecs/ad_hwac3.c

ulion subversion at mplayerhq.hu
Tue Nov 27 01:33:59 CET 2007


Author: ulion
Date: Tue Nov 27 01:33:59 2007
New Revision: 25177

Log:
Fix warnings:
ad_hwac3.c: In function 'decode_audio_dts':
ad_hwac3.c:499: warning: passing argument 1 of 'convert_14bits_to_16bits' from incompatible pointer type
ad_hwac3.c:499: warning: passing argument 2 of 'convert_14bits_to_16bits' from incompatible pointer type


Modified:
   trunk/libmpcodecs/ad_hwac3.c

Modified: trunk/libmpcodecs/ad_hwac3.c
==============================================================================
--- trunk/libmpcodecs/ad_hwac3.c	(original)
+++ trunk/libmpcodecs/ad_hwac3.c	Tue Nov 27 01:33:59 2007
@@ -492,8 +492,8 @@ static int decode_audio_dts(unsigned cha
         && fsize * 14 / 16 + 8 <= nr_samples * 2 * 2) {
       // The input stream is 14 bits, we can shrink it to 16 bits
       // to save space for add the 61937 header
-      fsize = convert_14bits_to_16bits((const uint16_t *)indata_ptr,
-                                       (uint16_t *)&buf[8],
+      fsize = convert_14bits_to_16bits(indata_ptr,
+                                       &buf[8],
                                        fsize,
                                        indata_ptr[0] == 0xff /* is LE */
                                        );



More information about the MPlayer-cvslog mailing list