]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/pthread_slice.c
avcodec/avcodec: Remove unnecessary forward declaration
[ffmpeg] / libavcodec / pthread_slice.c
index 77cfe3c9f69b75c22f9be9e15e74502ee4c2a38b..80c4579fc02eae17abb1e4e73937e54faf082715 100644 (file)
@@ -130,7 +130,7 @@ int ff_slice_thread_init(AVCodecContext *avctx)
 {
     SliceThreadContext *c;
     int thread_count = avctx->thread_count;
-    static void (*mainfunc)(void *);
+    void (*mainfunc)(void *);
 
     // We cannot do this in the encoder init as the threads are created before
     if (av_codec_is_encoder(avctx->codec) &&