diff mencoder.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 0f263b2c4622
children 80180dc13565
line wrap: on
line diff
--- a/mencoder.c	Thu Nov 01 06:52:10 2007 +0000
+++ b/mencoder.c	Thu Nov 01 06:52:14 2007 +0000
@@ -778,7 +778,6 @@
 mux_v->bih=NULL;
 }
 sh_video->codec=NULL;
-sh_video->video_out=NULL;
 sh_video->vfilter=NULL; // fixme!
 
 switch(mux_v->codec){