# HG changeset patch # User michael # Date 1084232333 0 # Node ID 85e547a18d87a817847e876e10dde76cf5766e34 # Parent b7c82b9ef098de6ed76150860297637badb02602 dummy avcodec_thread_init() to avoid linking issues diff -r b7c82b9ef098 -r 85e547a18d87 utils.c --- a/utils.c Sun May 09 15:50:08 2004 +0000 +++ b/utils.c Mon May 10 23:38:53 2004 +0000 @@ -890,3 +890,8 @@ av_log_callback = callback; } +#if !defined(HAVE_PTHREADS) && !defined(HAVE_W32THREADS) +int avcodec_thread_init(AVCodecContext *s, int thread_count){ + return -1; +} +#endif