From 5695ae46f8771f5c63cb0f62faca6a3d27f7d921 Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Sun, 11 Dec 2011 23:51:12 +0000 Subject: [PATCH] h264: remove useless cast Signed-off-by: Mans Rullgard --- libavcodec/h264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 631ad96e6b..7a1af56004 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -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 */