diff options
author | wm4 <wm4@nowhere> | 2015-03-06 10:53:49 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-03-06 11:31:05 +0100 |
commit | 90496f3088fb635916fd97ffa5bcdc57d281e1ca (patch) | |
tree | 8e87756be2c94033e62b3dda9633fe37c7b4b142 /waftools/detections | |
parent | 4dd7104af8f8ff10a81d6e9944e50a62f7b7e04f (diff) | |
download | mpv-90496f3088fb635916fd97ffa5bcdc57d281e1ca.tar.bz2 mpv-90496f3088fb635916fd97ffa5bcdc57d281e1ca.tar.xz |
player: fix operation if command line is empty
main() being called with argc==0 is probably possible. Fix by skipping
the program name early. (I already changed and reverted this once, but
this time we make sure that it's less likely to confuse the skipped argv
with main()'s argv by naming it "options".)
Diffstat (limited to 'waftools/detections')
0 files changed, 0 insertions, 0 deletions