diff mpeg12.c @ 10368:59ec306245a4 libavcodec

Remove casts that are useless since the argument is void *.
author reimar
date Tue, 06 Oct 2009 06:33:18 +0000
parents 981143737752
children 95f3daa991a2
line wrap: on
line diff
--- a/mpeg12.c	Tue Oct 06 06:18:57 2009 +0000
+++ b/mpeg12.c	Tue Oct 06 06:33:18 2009 +0000
@@ -2309,7 +2309,7 @@
                 if(avctx->thread_count > 1){
                     int i;
 
-                    avctx->execute(avctx, slice_decode_thread,  (void**)&(s2->thread_context[0]), NULL, s->slice_count, sizeof(void*));
+                    avctx->execute(avctx, slice_decode_thread,  &s2->thread_context[0], NULL, s->slice_count, sizeof(void*));
                     for(i=0; i<s->slice_count; i++)
                         s2->error_count += s2->thread_context[i]->error_count;
                 }