Changeset ba9ef8d0 in ffmpeg

Timestamp:
Apr 5, 2011, 2:53:26 PM (14 years ago)
Author:
Janne Grunau <janne-libav@jannau.net>
Branches:
master
Children:
668438a3
Parents:
d6f66edd
git-author:
Alexander Strange <astrange@ithinksw.com> (03/29/11 21:18:21)
git-committer:
Janne Grunau <janne-libav@jannau.net> (04/05/11 14:53:26)
Message:

Remove unnecessary parameter from ff_thread_init() and fix behavior

thread_count passed to ff_thread_init() is only used to set AVCodecContext.
thread_count, and can be removed. Instead move it to the legacy implementation
of avcodec_thread_init().

This also fixes the problem that calling avcodec_thread_init() with pthreads
enabled did not set it since ff1efc524cb3c60f2f746e3b4550bb1a86c65316.

Signed-off-by: Janne Grunau <janne-libav@jannau.net>

(No files)

Note: See TracChangeset for help on using the changeset viewer.