[FFmpeg-devel] multiple stream detection in libavformat vs. thread locking

Michael Niedermayer michaelni
Sun Dec 7 21:38:02 CET 2008

On Sun, Dec 07, 2008 at 08:48:50PM +0100, Jindrich Makovicka wrote:
> On Sun, Dec 7, 2008 at 20:37, Michael Niedermayer <michaelni at gmx.at> wrote:
> > which codec needs thread synced open/close anyway?
> I didn't look at the code, but without locking I experienced segfaults
> with MPEG2 video & MP2 audio. No crashes with the locking so far.

what about debuging and fixing it?
I mean no matter how you would plan to prevent 2 opens from happening at the
same time. It would be better if it wasnt needed in the first place ...


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No great genius has ever existed without some touch of madness. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081207/8e4d17cd/attachment.pgp>

More information about the ffmpeg-devel mailing list