diff mplayer.c @ 24891:fefb019faa90

Clean up some fields in stheader.h structs sh_video_t: void *video_out: only assigned to, never read. Remove. sh_video_t: void *vfilter: change type to struct vf_instance_s * sh_audio_t: void *afilter: change type to struct af_stream_s * The latter two never hold different types so there's no reason to use void *. Maybe they were originally defined that way because the option of using pointers to incomplete struct types was missed (the typedefs vf_instance_t and af_stream_t would require extra headers)?
author uau
date Thu, 01 Nov 2007 06:52:14 +0000
parents d6d9d3388a21
children 80180dc13565
line wrap: on
line diff
--- a/mplayer.c	Thu Nov 01 06:52:10 2007 +0000
+++ b/mplayer.c	Thu Nov 01 06:52:14 2007 +0000
@@ -1900,7 +1900,6 @@
       mp_msg(MSGT_CPLAYER,MSGL_FATAL,MSGTR_ErrorInitializingVODevice);
       goto err_out;
     }
-    sh_video->video_out=mpctx->video_out;
     inited_flags|=INITED_VO;
   }