h264: remove useless cast
authorMans Rullgard <mans@mansr.com>
Sun, 11 Dec 2011 23:51:12 +0000 (23:51 +0000)
committerMans Rullgard <mans@mansr.com>
Mon, 12 Dec 2011 00:02:48 +0000 (00:02 +0000)
Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/h264.c

index 631ad96..7a1af56 100644 (file)
@@ -3708,7 +3708,7 @@ static int execute_decode_slices(H264Context *h, int context_count){
             hx->s.error_count = 0;
         }
 
-        avctx->execute(avctx, (void *)decode_slice,
+        avctx->execute(avctx, decode_slice,
                        h->thread_context, NULL, context_count, sizeof(void*));
 
         /* pull back stuff from slices to master context */