summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-01-31 01:36:09 +0100
committerwm4 <wm4@nowhere>2014-01-31 19:08:12 +0100
commit61ed9a874733c11642108236fd98bfdb685f378a (patch)
tree8b8ccd5c68ffd767a862f8997747d49c560013b1 /options/options.h
parent0801345d68a37ea9bbe1d77fd13c3cacce37723c (diff)
downloadmpv-61ed9a874733c11642108236fd98bfdb685f378a.tar.bz2
mpv-61ed9a874733c11642108236fd98bfdb685f378a.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 'options/options.h')
0 files changed, 0 insertions, 0 deletions