[FFmpeg-cvslog] h264: remove useless cast

Mans Rullgard git at videolan.org
Tue Dec 13 00:59:43 CET 2011


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Sun Dec 11 23:51:12 2011 +0000| [5695ae46f8771f5c63cb0f62faca6a3d27f7d921] | committer: Mans Rullgard

h264: remove useless cast

Signed-off-by: Mans Rullgard <mans at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5695ae46f8771f5c63cb0f62faca6a3d27f7d921
---

 libavcodec/h264.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 631ad96..7a1af56 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 */



More information about the ffmpeg-cvslog mailing list