[MPlayer-users] bug in libcss

Bob Lockie bjlockie at lockie.ca
Thu Jan 9 03:08:09 CET 2003


Andreas Jellinghaus wrote:

>[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
>Hi.
>
>please cc: any answer to me, I'm not on this list.
>I found a bug in libcss. But i could not figure
>out where to report that bug. Is anyone maintaining
>libcss at all?
>
>Anyway I write here, because mplayer is the only program
>I know/use that uses libcss.
>
>The bug is in src/css.c, CSSGetASF
>
>        for (ai.lsasf.agid = 0; ai.lsasf.agid < 4; ai.lsasf.agid++) 
>
>At least in my linux headers agid is a 2 bit wide value, so it's
>value is always 0,1,2 or 3. This is an endless loop, unless
>the ioctl() succeeds.
>
>Fix:
>	int i;
>
>	for (i= 0; i< 4; i++) {
>		ai.lsasf.agid = i;
>		
>
>Results in an error message if the ioctl doesn't work.
>
>Regards, Andreas
>  
>
http://videolan.org/libdvdcss/

-- 
----------------------------------------
Sent from Mozilla and GNU/Linux.
Powered by an AMD processor.




More information about the MPlayer-users mailing list