reversing my brokeness, but imho dnet is still broken on BE systems

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10979 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2003-10-02 14:13:52 +00:00
parent 67bba51f96
commit ff2f440043
1 changed files with 0 additions and 2 deletions

View File

@ -48,9 +48,7 @@ while(1){
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*/