diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2017-02-20 22:46:48 -0800 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2017-02-20 22:56:30 -0800 |
commit | df30b217d9551749e02373b66bddd2f8787223cf (patch) | |
tree | 668294b876f32cd7d69447160bb7c2c7c5ecefc5 /video/mp_image.c | |
parent | fffab30a3ef01dc6f34adadccb05617f4a3a528e (diff) | |
download | mpv-df30b217d9551749e02373b66bddd2f8787223cf.tar.bz2 mpv-df30b217d9551749e02373b66bddd2f8787223cf.tar.xz |
ao: never set ao->device = ""
For example, previously, --audio-device='alsa/' would provide ao->device="" to
the alsa driver in spite of the fact that this is an already parsed option. To
avoid requiring a check of ao->device[0] in every driver, make sure this never
happens.
Diffstat (limited to 'video/mp_image.c')
0 files changed, 0 insertions, 0 deletions