diff options
author | Dudemanguy <random342@airmail.cc> | 2023-10-01 15:54:39 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-10-01 16:11:53 -0500 |
commit | 0a1e3d86852bc6267a622b9ec442c4a3ea9d66d9 (patch) | |
tree | 4f67a4bc8f81873e910ddb0aa0cbb4ec10117915 /DOCS/interface-changes.rst | |
parent | d50de74c1ee79ada5d27b465a9074b0ebf87cedf (diff) | |
download | mpv-0a1e3d86852bc6267a622b9ec442c4a3ea9d66d9.tar.bz2 mpv-0a1e3d86852bc6267a622b9ec442c4a3ea9d66d9.tar.xz |
demux: move parent_stream_info before the goto
Previously if the demuxer didn't exist, then it could jump down and try
to free sinfo.filename before it was ever set thus segfaulting. Just
always set the struct unconditionally so we're always sure to free it.
Diffstat (limited to 'DOCS/interface-changes.rst')
0 files changed, 0 insertions, 0 deletions