[FFmpeg-devel] [PATCH] Make ffplay define in the encoder the number of threads *before* to open it
Sat Mar 8 18:55:26 CET 2008
On Sat, Mar 08, 2008 at 06:33:27PM +0100, Stefano Sabatini wrote:
> as in $subject.
> If threads support is not enabled and threads count is set to a
> value greater than MAX_THREADS (currently is 8), then encoder is
> initialized with a value of thread_count equal to 1, then
> enc->threads_count is set to the value set by the user, finally
> libavcodec crashes when it tryies to free the first thread beyond
> MAX_THREADS (this happens when quitting ffplay).
the command line parsing code should not accept >MAX_THREADS
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Opposition brings concord. Out of discord comes the fairest harmony.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel