mirror of
https://github.com/mpv-player/mpv
synced 2024-12-13 02:15:59 +00:00
More changes needed to make ad_hwac3 truly independent from liba52.
Patch by Benoît Amiaux [benoit amiaux gmail com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30286 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b27ec53011
commit
11cd52cad4
@ -49,8 +49,8 @@ ad_functions_t* mpcodecs_ad_drivers[] =
|
||||
#endif
|
||||
#ifdef CONFIG_LIBA52
|
||||
&mpcodecs_ad_liba52,
|
||||
&mpcodecs_ad_hwac3,
|
||||
#endif
|
||||
&mpcodecs_ad_hwac3,
|
||||
&mpcodecs_ad_hwmpa,
|
||||
#ifdef CONFIG_LIBAVCODEC
|
||||
&mpcodecs_ad_ffmpeg,
|
||||
|
@ -135,12 +135,6 @@ static int ac3dts_fillbuff(sh_audio_t *sh_audio)
|
||||
demux_read_data(sh_audio->ds, sh_audio->a_in_buffer + 12, length - 12);
|
||||
sh_audio->a_in_buffer_len = length;
|
||||
|
||||
// TODO: is DTS also checksummed?
|
||||
#ifdef CONFIG_LIBA52_INTERNAL
|
||||
if(isdts == 0 && crc16_block(sh_audio->a_in_buffer + 2, length - 2) != 0)
|
||||
mp_msg(MSGT_DECAUDIO, MSGL_STATUS, "a52: CRC check failed! \n");
|
||||
#endif
|
||||
|
||||
return length;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user