OSDN Git Service

Fix build with threading disabled
authorMans Rullgard <mans@mansr.com>
Wed, 9 Feb 2011 20:15:25 +0000 (20:15 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 11 Feb 2011 01:54:08 +0000 (02:54 +0100)
commitee5bb31f9953d356c5caa08bd16451d017780759
tree1677c009b9b4c028472ce69b53c67f136ea01ba3
parent74711b72cc43070e9e29106db03bc60ab132e4cf
Fix build with threading disabled

The avcodec_thread_free() compatibility wrapper calls ff_thread_free(),
which is not defined when threading is disabled.  Make this call
conditional.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 9a77a92c2b6855781d2a4cfab14c67ae4025760c)
libavcodec/utils.c