[MPlayer-cvslog] r30286 - in trunk/libmpcodecs: ad.c ad_hwac3.c
reimar
subversion at mplayerhq.hu
Mon Jan 11 22:06:00 CET 2010
Author: reimar
Date: Mon Jan 11 22:06:00 2010
New Revision: 30286
Log:
More changes needed to make ad_hwac3 truly independent from liba52.
Patch by Benoît Amiaux [benoit amiaux gmail com]
Modified:
trunk/libmpcodecs/ad.c
trunk/libmpcodecs/ad_hwac3.c
Modified: trunk/libmpcodecs/ad.c
==============================================================================
--- trunk/libmpcodecs/ad.c Mon Jan 11 21:40:51 2010 (r30285)
+++ trunk/libmpcodecs/ad.c Mon Jan 11 22:06:00 2010 (r30286)
@@ -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,
Modified: trunk/libmpcodecs/ad_hwac3.c
==============================================================================
--- trunk/libmpcodecs/ad_hwac3.c Mon Jan 11 21:40:51 2010 (r30285)
+++ trunk/libmpcodecs/ad_hwac3.c Mon Jan 11 22:06:00 2010 (r30286)
@@ -135,12 +135,6 @@ static int ac3dts_fillbuff(sh_audio_t *s
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;
}
More information about the MPlayer-cvslog
mailing list