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

Reinhard Tartler siretart at tauware.de
Tue Sep 9 07:01:09 UTC 2008


Fabian Greffrath <greffrath at leat.rub.de> writes:

> 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?

In order to ensure that no matter how often that function is called, the
code below that if is executed exatly once. Think Singleton-Pattern.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4





More information about the pkg-multimedia-maintainers mailing list