summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authoruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-01 06:52:14 +0000
committeruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-01 06:52:14 +0000
commita6d6f182167dbb2fe16ef12faf36a6668eaaa9af (patch)
treefadd2e327c066d4536525d00f2030143a06e00e2 /mplayer.c
parent5bfedc0a2d9331a6b2205aaebed4739e882771ea (diff)
downloadmpv-a6d6f182167dbb2fe16ef12faf36a6668eaaa9af.tar.bz2
mpv-a6d6f182167dbb2fe16ef12faf36a6668eaaa9af.tar.xz
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)? git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24919 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index c0ca8d59fe..9b7c87ba64 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -1900,7 +1900,6 @@ int reinit_video_chain(void) {
mp_msg(MSGT_CPLAYER,MSGL_FATAL,MSGTR_ErrorInitializingVODevice);
goto err_out;
}
- sh_video->video_out=mpctx->video_out;
inited_flags|=INITED_VO;
}