mirror of https://github.com/mpv-player/mpv
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:
parent
67bba51f96
commit
ff2f440043
|
@ -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*/
|
||||
|
|
Loading…
Reference in New Issue