[MPlayer-cvslog] Re: r21619 - in trunk/stream: stream_dvdnav.c stream_dvdnav.h

Nico Sabbi nicola_sabbi at fastwebnet.it
Fri Dec 15 23:07:52 CET 2006


Joakim Plate wrote:

>nicodvb <subversion <at> mplayerhq.hu> writes:
>
>  
>
>>+  if(aid >= 0x80 && aid < 0x88)
>>+    aid -= 0x80;
>>+  else if(aid >= 0x88 && aid <= 0x8F)
>>+    aid -= 0x88;
>>+  else if(aid >= 0xA0 && aid <= 0xAF)
>>+    aid -= 0xA0;
>>+  if(aid < 0)
>>+    return 0;
>>    
>>
>
>or simply just aid & 0x7, the stream number for dvd's are always the lower 3
>bits, other bits are flags for format. for subs its sid & 0x1f. ofcourse this is
>only valid for dvd's, but then again these functions is just used for dvd's.
>
>/Joakim
>
>
>  
>
but in this case LPCM streams should be in the range A0..A7, are they?



More information about the MPlayer-cvslog mailing list