diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2021-03-08 09:46:18 +0100 |
---|---|---|
committer | avih <avih@users.noreply.github.com> | 2021-03-08 14:01:34 +0200 |
commit | 45e6804478c796c4f00fee26e1f152171effc241 (patch) | |
tree | 7c67023f2814c80859ee9af9e1841548262dde87 /filters/f_utils.c | |
parent | aac1844179194585d554b4dc24bd90ede3cb3a11 (diff) | |
download | mpv-45e6804478c796c4f00fee26e1f152171effc241.tar.bz2 mpv-45e6804478c796c4f00fee26e1f152171effc241.tar.xz |
ytdl_hook: fix crash on missing track bitrate
Some tracks happen to lack bitrate information (ie. no tbr value).
In that case, just ignore the track while computing the max bitrate.
For an example, this is a stream in which all audio tracks
have no bitrate: https://www.raiplay.it/dirette/rai1
Diffstat (limited to 'filters/f_utils.c')
0 files changed, 0 insertions, 0 deletions