[MPlayer-dev-eng] integer overflow in ao_alsa1x.c

Martin Scherer martin_konrad_scherer at yahoo.de
Tue May 4 15:49:22 CEST 2004


Hi everybody!
i want to report a little integer overflow in
ao_alsa1x.c at line 322.
the for loop runs 3 times; first time everything goes
fine, but the second time i2 get overflow (or
underflowed by substraktion.. dont know exactly)

and by the way:
i have problems to select the proper subdevice for
sound output.
given substring was hw:0:2 and even tried it with
hw:0,2
but i always get the ouput device hw:0
perhaps this has something to do with the overflow in
the for loop and the later if-clause:
if ((i3 < i2-1) && // .....

greetings

ps: sry for my english hehe


	

	
		
Mit schönen Grüßen von Yahoo! Mail - http://mail.yahoo.de




More information about the MPlayer-dev-eng mailing list