[MPlayer-cvslog] r19163 - trunk/libmpcodecs/ad_hwmpa.c
nicodvb
subversion at mplayerhq.hu
Sun Jul 23 09:52:51 CEST 2006
Author: nicodvb
Date: Sun Jul 23 09:52:51 2006
New Revision: 19163
Modified:
trunk/libmpcodecs/ad_hwmpa.c
Log:
don't do the work of mp_get_mp3_header() and, as a side effect, prevent a deadlock due to a missed cnt++
Modified: trunk/libmpcodecs/ad_hwmpa.c
==============================================================================
--- trunk/libmpcodecs/ad_hwmpa.c (original)
+++ trunk/libmpcodecs/ad_hwmpa.c Sun Jul 23 09:52:51 2006
@@ -35,8 +35,6 @@
{
while(cnt + 4 < sh->a_in_buffer_len)
{
- if(((sh->a_in_buffer[cnt] << 8) | sh->a_in_buffer[cnt+1]) & 0xffe0 != 0xffe0)
- continue;
x = mp_get_mp3_header(&(sh->a_in_buffer[cnt]), chans, srate, spf, mpa_layer, br);
if(x > 0)
{
More information about the MPlayer-cvslog
mailing list