changeset 36141:e9f52175df86

Remove pointless cast.
author reimar
date Sun, 05 May 2013 07:27:31 +0000
parents 6a13cab4e830
children 1cfb48d5243f
files libmpcodecs/vd_ffmpeg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c	Sun May 05 07:27:29 2013 +0000
+++ b/libmpcodecs/vd_ffmpeg.c	Sun May 05 07:27:31 2013 +0000
@@ -929,7 +929,7 @@
     if(init_vo(sh, avctx->pix_fmt) < 0) return NULL;
 
     if(dr1 && pic->opaque){
-        mpi= (mp_image_t *)pic->opaque;
+        mpi=pic->opaque;
     }
 
     if(!mpi)