[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#498216: ffmpeg, mplayer (mipsel/loongson2f) stops with the error message "Segmentation fault." and fix patch



Reinhard Tartler schrieb:
Fabian, please make sure that you don't accidentally CC'
submit@bugs.debian.org.

Oops, sorry!

I've compiled it on morales.debian.org, a mipsel porter machine with
CFLAGS set to -O0, -O2, O3 and -Os, all returned 0. AFAIR, static
variables are always initialized to 0, but I don't have the C standard
at hand right now.

But then the code in allcodecs.c look rather senseless to me. Why should you test 'if (inited)' when you've just set it yourself to 0 by initializing it?

--
Dipl.-Phys. Fabian Greffrath

Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum

Telefon: +49 (0)234 / 32-26334
Fax:     +49 (0)234 / 32-14227
E-Mail:  greffrath@leat.ruhr-uni-bochum.de


Reply to: