[FFmpeg-devel] [PATCH] Make ffplay define in the encoder the number of threads *before* to open it
Michael Niedermayer
michaelni
Sat Mar 8 18:55:26 CET 2008
On Sat, Mar 08, 2008 at 06:33:27PM +0100, Stefano Sabatini wrote:
> Hi,
> 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.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080308/be73ca85/attachment.pgp>
More information about the ffmpeg-devel
mailing list