summaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-05-10 23:38:53 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-05-10 23:38:53 +0000
commitca8ad847676697a482151fe32cba603d91d940d5 (patch)
tree581bf54132cad037362667a38758d54e9c74f528 /libavcodec/utils.c
parentec6d8af5aabf534127ad16a8a8d8ff1033026d29 (diff)
downloadffmpeg-streaming-ca8ad847676697a482151fe32cba603d91d940d5.zip
ffmpeg-streaming-ca8ad847676697a482151fe32cba603d91d940d5.tar.gz
dummy avcodec_thread_init() to avoid linking issues
Originally committed as revision 3122 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index d08c630..df2a1e1 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -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
OpenPOWER on IntegriCloud