[FFmpeg-devel] ffplay is missing avcodec_thread_free()

Måns Rullgård mans
Fri Jul 6 20:21:59 CEST 2007


Janne Grunau <janne-ffmpeg at grunau.be> writes:

> On Friday 06 July 2007 15:49:29 Benoit Fouet wrote:
>> Janne Grunau wrote:
>> > +    if (ENABLE_THREADS && avctx->thread_opaque)
>> > +        avcodec_thread_free(avctx);
>>
>> i don't think ENABLE_THREADS is useful
>
> It is. gcc optimized the check out if threading is not enabled.

But does it matter?

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list