[FFmpeg-devel] Threading issue with avcodec_decode_video2 ?

Don Moir donmoir at comcast.net
Mon Oct 29 13:36:24 CET 2012


> Don Moir <donmoir <at> comcast.net> writes:
>
>> Forgot to mention that abort seemed to be called as one
>> of the spurious crashes I was seeing before lock was in
>> place.
>
> As you know, we consider crashes important, so if you
> have a sample that crashes current FFmpeg (no matter if
> with abort() or differently), please either open a ticket
> on trac or send a mail to ffmpeg-user.

All crashes related to the issue in this email had to do with unsafe thread issue as detailed in email which can create spurious and 
seemingly unrelated crashes. It's not going to be reproducible with ffmpeg command line since its a multi-threaded issue.

Would be great if this could be addressed right away and will do what I can. We probably just need confirmation from Michael or 
Hendrik or whoever that it's ok to move the mentioned failing code into the init procedure. Also, whatever else this might effect 
and whatever else might be doing the same thing.

The issue about removing abort() is one I will post up. 



More information about the ffmpeg-devel mailing list