aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2015-05-16 23:31:44 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2015-05-17 02:08:58 +0200
commitcaa41d1e4c9678286699428aa461b210f05da5c9 (patch)
tree86b7de60e4eb4fb059a3ebaf9440d53a91cf9c87 /libavformat/mov.c
parent1eda55510ae5d15ce3df9f496002508580899045 (diff)
downloadffmpeg-caa41d1e4c9678286699428aa461b210f05da5c9.tar.gz
lavf/mov: Tell users about the use_absolute_path option.
Fixes ticket #4539.
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 3d8cbe9603..ed2afd4215 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -2662,6 +2662,11 @@ static int mov_open_dref(MOVContext *c, AVIOContext **pb, const char *src, MOVDr
} else if (c->fc->open_cb) {
if (!open_func(c->fc, pb, ref->path, AVIO_FLAG_READ, int_cb, NULL))
return 0;
+ } else {
+ av_log(c->fc, AV_LOG_ERROR,
+ "Absolute path %s not tried for security reasons, "
+ "set demuxer option use_absolute_path to allow absolute paths\n",
+ ref->path);
}
return AVERROR(ENOENT);