[FFmpeg-devel] ffplay is missing avcodec_thread_free()
Fri Jul 6 16:58:17 CEST 2007
On Fri, Jul 06, 2007 at 04:01:17PM +0200, Andreas ?man wrote:
> 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.
then set thread_opaque to NULL in avcodec_thread_free()
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the ffmpeg-devel