[FFmpeg-devel] ffplay is missing avcodec_thread_free()

Andreas Öman andreas
Fri Jul 6 16:01:17 CEST 2007


Hi

Benoit Fouet wrote:
> Hi,
> 
> Janne Grunau wrote:
>> On Thursday 28 June 2007 18:57:54 Michael Niedermayer wrote:
>>   
>>> Hi
>>>
>>> why not put the avcodec_thread_free() call in avcodec_close() ?
>>>     
>> as attached patch?
>>
> 
> i don't think ENABLE_THREADS is useful
> 

More importantly, if an application already calls avcodec_thread_free()
this patch will (most likely) crash the application,
as pointed out by Thorsten in a previous mail in this thread.





More information about the ffmpeg-devel mailing list