summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2020-04-15 08:00:27 +0200
committerNiklas Haas <git@haasn.xyz>2020-04-15 08:02:28 +0200
commitec7f2388af2df27bf0f7e1801b39729f9755baed (patch)
tree4f5ef8db8fc0139b6ccbd7e305d7b7f4f1d1c324 /osdep
parent7e52e727461f943a78fcc97e9b70d917930f07c4 (diff)
downloadmpv-ec7f2388af2df27bf0f7e1801b39729f9755baed.tar.bz2
mpv-ec7f2388af2df27bf0f7e1801b39729f9755baed.tar.xz
player: don't segfault when unloading tracks
e1e714ccc introduced a regression here when unloading a track (e.g. on VO/AO initilization error), due to no corresponding option existing for video/audio tracks with orders above 0, but the loop in `mp_deselect_track` being hard-coded to clear tracks up to NUM_PTRACKS. Introduce the simplest possible hackaround.
Diffstat (limited to 'osdep')
0 files changed, 0 insertions, 0 deletions