Mercurial > mplayer.hg
changeset 25149:7493e9bc7293
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
author | ulion |
---|---|
date | Tue, 27 Nov 2007 00:33:59 +0000 |
parents | 07dbdbcc1659 |
children | c4376432f72f |
files | libmpcodecs/ad_hwac3.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/ad_hwac3.c Mon Nov 26 23:24:22 2007 +0000 +++ b/libmpcodecs/ad_hwac3.c Tue Nov 27 00:33:59 2007 +0000 @@ -492,8 +492,8 @@ && 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 */ );