1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

dummy avcodec_thread_init() to avoid linking issues

Originally committed as revision 3122 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2004-05-10 23:38:53 +00:00
parent ec6d8af5aa
commit ca8ad84767

View 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