[FFmpeg-devel] ffplay is missing avcodec_thread_free()

Benoit Fouet benoit.fouet
Fri Jul 6 17:24:49 CEST 2007


Michael Niedermayer wrote:
> Hi
>
> On Fri, Jul 06, 2007 at 03:44:57PM +0200, Janne Grunau wrote:
>   
>> On Thursday 28 June 2007 18:57:54 Michael Niedermayer wrote:
>>     
>>> Hi
>>>
>>> On Mon, Jun 18, 2007 at 12:11:28PM +0200, Thorsten Jordan wrote:
>>>       
>>>> Hello,
>>>>
>>>> ffplay can use multithreading, but the avcodec_thread_free() call
>>>> is missing before avcodec_close().
>>>> The attached patch fixes this (or tries to...)
>>>>         
>>> why not put the avcodec_thread_free() call in avcodec_close() ?
>>>       
>> as attached patch?
>>     
>
> patch ok after avcodec_thread_free() has been fixed to properly set
> thread_opaque to NULL
>
> [...]
>   
>   

Applied

-- 
Ben
Purple Labs S.A.
www.purplelabs.com




More information about the ffmpeg-devel mailing list