Fix build with threading disabled
authorMans Rullgard <mans@mansr.com>
Wed, 9 Feb 2011 20:15:25 +0000 (20:15 +0000)
committerMans Rullgard <mans@mansr.com>
Wed, 9 Feb 2011 20:52:28 +0000 (20:52 +0000)
commit9a77a92c2b6855781d2a4cfab14c67ae4025760c
tree5d0fa5eeb83e1d8cb7ddae960441b467661b16bd
parentaef669cdfd984a737ad876b33ee1b160f87f5f9a
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>
libavcodec/utils.c