summaryrefslogtreecommitdiffstats
path: root/video/img_format.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-03-05 00:56:55 +0100
committerwm4 <wm4@nowhere>2016-03-05 00:56:55 +0100
commitfb2f8abaaab604595474e932ff888d73f6f86fc7 (patch)
treeb005d146987696fdae554ba519ca64f309c21868 /video/img_format.c
parent740b7013ba827ce5a9d48138af5bd2e8f5d54710 (diff)
downloadmpv-fb2f8abaaab604595474e932ff888d73f6f86fc7.tar.bz2
mpv-fb2f8abaaab604595474e932ff888d73f6f86fc7.tar.xz
demux_null: fix segfault with --cache enabled
stream->info can be NULL if it's the cache wrapper. To be fair, stream->info is considered private API anyway. So don't access it, but check the URL instead.
Diffstat (limited to 'video/img_format.c')
0 files changed, 0 insertions, 0 deletions