[MPlayer-users] small bug in libvo/vo_aa.c
Axel Gordon Grossklaus
6grosskl at informatik.uni-hamburg.de
Mon Dec 9 18:04:02 CET 2002
there seems to be a bug in libvo/vo_aa.c (line 704 in cvs
sprintf (fname, "/dev/vcsa%2.2i", vt);
this causes mplayer to generate device-names
with leading zeros i.e. /dev/vcsa01 instead
if mplayer is run as root, a new file is
created under /dev.
sprintf (fname, "/dev/vcsa%i", vt);
would be better, i think.
unfortunately, the code simply opens the device
in write-mode and does not check if it exists and
if it is a device. maybe it would
be a good idea to add this check.
More information about the MPlayer-users