summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authorulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-27 00:33:59 +0000
committerulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-27 00:33:59 +0000
commitfacdbc77aa67181119a2887a6d4fb132f2a4692c (patch)
tree2e4ce6ebd7c4e1054ea6425326a027d5d83a5484 /libmpcodecs
parent97dc493b5fbfcb5923e09ee433a40a1f7ecc9475 (diff)
downloadmpv-facdbc77aa67181119a2887a6d4fb132f2a4692c.tar.bz2
mpv-facdbc77aa67181119a2887a6d4fb132f2a4692c.tar.xz
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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25177 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/ad_hwac3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/ad_hwac3.c b/libmpcodecs/ad_hwac3.c
index fbf7147057..34850f2a6a 100644
--- a/libmpcodecs/ad_hwac3.c
+++ b/libmpcodecs/ad_hwac3.c
@@ -492,8 +492,8 @@ static int decode_audio_dts(unsigned char *indata_ptr, int len, unsigned char *b
&& 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 */
);