summaryrefslogtreecommitdiffstats
path: root/demux/demux.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-03-19 01:54:45 +0100
committerwm4 <wm4@nowhere>2013-03-19 01:54:45 +0100
commitbe7e04f7198ed6092a1d1e54e867df9b2c6247a4 (patch)
tree5719fd9763e4ee3bf736e1be588a59c1aa88ab7f /demux/demux.c
parentb242aa366bc10b0dd0504f3c3c916e4e61e4f81b (diff)
downloadmpv-be7e04f7198ed6092a1d1e54e867df9b2c6247a4.tar.bz2
mpv-be7e04f7198ed6092a1d1e54e867df9b2c6247a4.tar.xz
demux_mf: fix crashes when '*' matches directories
Doing 'mpv mf://*' in a file with directories would crash, because even though directories are skipped, the corresponding file entry is just left at NULL, leading to a segfault on access. So explicitly skip NULL entries.
Diffstat (limited to 'demux/demux.c')
0 files changed, 0 insertions, 0 deletions