ffmpeg | branch: master | Carl Eugen Hoyos <[email protected]> | Sat May 16 23:31:44 2015 +0200| [caa41d1e4c9678286699428aa461b210f05da5c9] | committer: Carl Eugen Hoyos
lavf/mov: Tell users about the use_absolute_path option. Fixes ticket #4539. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=caa41d1e4c9678286699428aa461b210f05da5c9 --- libavformat/mov.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libavformat/mov.c b/libavformat/mov.c index 3d8cbe9..ed2afd4 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); _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
