diff options
author | wm4 <wm4@nowhere> | 2014-01-31 01:36:09 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-01-31 01:36:09 +0100 |
commit | 00af143176658dabc993c617836903e9f8db55a8 (patch) | |
tree | c20c2c329a8adfd38db608e5cef8b6bbdcb41d2e /DOCS/OUTDATED-tech | |
parent | 8ff1a339e9f1443c5809f7a05ed00325271ffb0f (diff) | |
download | mpv-00af143176658dabc993c617836903e9f8db55a8.tar.bz2 mpv-00af143176658dabc993c617836903e9f8db55a8.tar.xz |
demux_lavf: fix crash with empty files
This used to work; I'm not sure when or why it regressed. When setting
AVProbeData.filename to NULL, libavformat will crash in rtp_probe() by
unconditionally accessing the string.
We used to set the filename to NULL to prevent probing by file extension
when we don't deem it as necessary. Using an empty string also works for
this purpose.
Diffstat (limited to 'DOCS/OUTDATED-tech')
0 files changed, 0 insertions, 0 deletions