diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-06-15 19:58:11 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-10-06 09:40:46 +0200 |
commit | 77d43bf42d76a1a3ccd8ea25937664c7f9d4bcac (patch) | |
tree | 78b0bf7909a549b79b738d85fdcd2c4a3a1f0f48 /libavcodec/rangecoder.h | |
parent | 899d95efe12f1e250b361837c1c8c06df9ac9b86 (diff) | |
download | ffmpeg-77d43bf42d76a1a3ccd8ea25937664c7f9d4bcac.tar.gz |
lavf: don't segfault when a NULL filename is passed to avformat_open_input()
This can easily happen when the caller is using a custom AVIOContext.
Behave as if the filename was an empty string in this case.
CC: libav-stable@libav.org
(cherry picked from commit a5db8e4a1a5449cc7a61e963c9fa698a4f22131b)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
(cherry picked from commit 7124fa5d3640e5b8089dd13b22a09038b2ec5216)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/rangecoder.h')
0 files changed, 0 insertions, 0 deletions