summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2012-01-26 00:01:49 +0100
committerwm4 <wm4@mplayer2.org>2012-01-26 03:06:59 +0100
commit02fedc7bab73f0b68da34572b1f05dd463def2a9 (patch)
tree458690082007eca9ce389806b6d8effed161414c /libmpcodecs
parentd5a8059f93795e3a8e1357ea7b15002ce5fd0125 (diff)
downloadmpv-02fedc7bab73f0b68da34572b1f05dd463def2a9.tar.bz2
mpv-02fedc7bab73f0b68da34572b1f05dd463def2a9.tar.xz
input.c: simplify command definitions
Using type = -1 for terminating the command argument list was an unnecessary complication. Change it to 0 to make use of default initialization. Remove the explicit termination from the command definitions. Now the argument list is automatically terminated by C default initialization rules. Also remove other redundant {0} initializers. When an argument's default value is actually initialized to something other than 0, make the field being initialized explicit (e.g. {1} becomes {.i = 1}). Try to make use of whitespace more consistent.
Diffstat (limited to 'libmpcodecs')
0 files changed, 0 insertions, 0 deletions