OSDN Git Service

dummy avcodec_thread_init() to avoid linking issues
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 10 May 2004 23:38:53 +0000 (23:38 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 10 May 2004 23:38:53 +0000 (23:38 +0000)
Originally committed as revision 3122 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/utils.c

index d08c630..df2a1e1 100644 (file)
@@ -890,3 +890,8 @@ void av_log_set_callback(void (*callback)(void*, int, const char*, va_list))
     av_log_callback = callback;
 }
 
+#if !defined(HAVE_PTHREADS) && !defined(HAVE_W32THREADS)
+int avcodec_thread_init(AVCodecContext *s, int thread_count){
+    return -1;
+}
+#endif