Mercurial > mplayer.hg
changeset 19158:6373c98ada45
don't do the work of mp_get_mp3_header() and, as a side effect, prevent a deadlock due to a missed cnt++
author | nicodvb |
---|---|
date | Sun, 23 Jul 2006 07:52:51 +0000 |
parents | 597866a6793d |
children | 7945609397b0 |
files | libmpcodecs/ad_hwmpa.c |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/ad_hwmpa.c Sat Jul 22 22:14:14 2006 +0000 +++ b/libmpcodecs/ad_hwmpa.c Sun Jul 23 07:52:51 2006 +0000 @@ -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) {