1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-08-21 00:35:05 +02:00

lavf/mov: Tell users about the use_absolute_path option.

Fixes ticket #4539.
This commit is contained in:
Carl Eugen Hoyos 2015-05-16 23:31:44 +02:00
parent 1eda55510a
commit caa41d1e4c

View File

@ -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);