[FFmpeg-devel] [PATCH] Always call avcodec_thread_init()
Måns Rullgård
mans
Wed Jan 20 23:56:05 CET 2010
Michael Niedermayer <michaelni at gmx.at> writes:
> On Wed, Jan 20, 2010 at 10:26:49PM +0000, Mans Rullgard wrote:
>> The various avcodec_thread_init() functions are updated to return
>> immediately after setting avctx->thread_count. This allows -threads 0
>> to pass through to codecs. It also simplifies the usage for apps
>> using libavcodec.
>> ---
>> ffmpeg.c | 3 ---
>> ffplay.c | 1 -
>> libavcodec/beosthread.c | 3 +++
>> libavcodec/os2thread.c | 3 +++
>> libavcodec/pthread.c | 6 +++++-
>> libavcodec/w32thread.c | 3 +++
>> 6 files changed, 14 insertions(+), 5 deletions(-)
>
> ok if regession tests pass
Applied.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list