[MPlayer-dev-eng] codecs.conf parsing crash
Mike Melanson
melanson at pcisys.net
Wed Dec 19 03:43:02 CET 2001
Hi there,
I plugged the following sample into the top of my local
codecs.conf file:
videocodec random
info "Random Codec"
status buggy
fourcc RNDM
driver random
out BGR32
And this is what happens:
MPlayer CVS-011215-17:22-2.95.3 (C) 2000-2001 Arpad Gereoffy (see DOCS!)
CPU vendor name: AuthenticAMD max cpuid level: 1
CPU: Advanced Micro Devices K6-2 (Type: 5, Stepping: 12)
extended cpuid-level: 5
CPUflags: Type: 5 MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Reading /home/melanson/.mplayer/codecs.conf: parse error at line 13
Segmentation fault
Line 13 is the "driver random" line. True, it does report a parse error,
but then it crashes with an honest-to-goodness segfault. It would be nice
if, after encountering a parse error, the program continued parsing with
the same stubborn attitude that the MPlayer team has become famous for
when dealing with new users...:)
--
-Mike Melanson
More information about the MPlayer-dev-eng
mailing list