changeset 2013:85e547a18d87 libavcodec

dummy avcodec_thread_init() to avoid linking issues
author michael
date Mon, 10 May 2004 23:38:53 +0000
parents b7c82b9ef098
children 15c885db82a8
files utils.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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