Mercurial > mplayer.hg
view parser-mpcmd.h @ 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 | 5385740067a1 |
children | d88f5f82826e |
line wrap: on
line source
#ifndef _parser_mpcmd_h #define _parser_mpcmd_h extern play_tree_t* m_config_parse_mp_command_line(m_config_t *config, int argc, char **argv); #endif