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

Julien Cristau jcristau at debian.org
Tue Sep 9 08:32:34 UTC 2008


On Tue, Sep  9, 2008 at 09:38:22 +0200, Fabian Greffrath wrote:

> Reinhard Tartler schrieb:
>> 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.
>
> Will the code be executed more than once if initialize it with "static  
> int inited=0;" (which is the proposed fix)? I fear so...
>
No.  The variable is static, it's initialized only once.  (But then, the
proposed 'fix' looks like a no-op to me.)

Cheers,
Julien





More information about the pkg-multimedia-maintainers mailing list