]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/pthread_slice.c
doc/muxers: add entry for ADTS muxer
[ffmpeg] / libavcodec / pthread_slice.c
index d659f9b0ba8091164df4f047bb7790a64fb6bffc..80c4579fc02eae17abb1e4e73937e54faf082715 100644 (file)
@@ -130,11 +130,7 @@ int ff_slice_thread_init(AVCodecContext *avctx)
 {
     SliceThreadContext *c;
     int thread_count = avctx->thread_count;
-    static void (*mainfunc)(void *);
-
-#if HAVE_W32THREADS
-    w32thread_init();
-#endif
+    void (*mainfunc)(void *);
 
     // We cannot do this in the encoder init as the threads are created before
     if (av_codec_is_encoder(avctx->codec) &&