]> git.sesse.net Git - vlc/blobdiff - modules/codec/avcodec/encoder.c
vlc_cond_init: really remove useless parameter
[vlc] / modules / codec / avcodec / encoder.c
index 98089fbe13f1f1098742930ec3b08b5a35cd0bbc..cc7c179d1bbf5b05c5c496082a358b135949449b 100644 (file)
@@ -800,7 +800,7 @@ static block_t *EncodeVideo( encoder_t *p_enc, picture_t *p_pict )
                                      sizeof(struct thread_context_t) );
             pp_contexts[i]->p_context = p_sys->p_context;
             vlc_mutex_init( &pp_contexts[i]->lock );
-            vlc_cond_init( p_enc, &pp_contexts[i]->cond );
+            vlc_cond_init( &pp_contexts[i]->cond );
             pp_contexts[i]->b_work = 0;
             pp_contexts[i]->b_done = 0;
             if ( vlc_thread_create( pp_contexts[i], "encoder", FfmpegThread,