# HG changeset patch # User alex # Date 1065104032 0 # Node ID 3eed882edb42971b4c5bf6559fa77c213026db30 # Parent 3da6b1de1c33d1a4ae78acc3811db58819d2bae8 reversing my brokeness, but imho dnet is still broken on BE systems diff -r 3da6b1de1c33 -r 3eed882edb42 libmpcodecs/ad_liba52.c --- a/libmpcodecs/ad_liba52.c Thu Oct 02 10:46:33 2003 +0000 +++ b/libmpcodecs/ad_liba52.c Thu Oct 02 14:13:52 2003 +0000 @@ -48,9 +48,7 @@ if(c<0) return -1; /* EOF*/ sh_audio->a_in_buffer[sh_audio->a_in_buffer_len++]=c; } -#ifndef WORDS_BIGENDIAN if(sh_audio->format!=0x2000) swab(sh_audio->a_in_buffer,sh_audio->a_in_buffer,8); -#endif length = a52_syncinfo (sh_audio->a_in_buffer, &flags, &sample_rate, &bit_rate); if(length>=7 && length<=3840) break; /* we're done.*/ /* bad file => resync*/