On Fri, 8 May 2015 13:25:17 +0200 Carl Eugen Hoyos <ceho...@ag.or.at> wrote:
> diff --git a/libavformat/mov.c b/libavformat/mov.c > index 54930a4..eaeb0d0 100644 > --- a/libavformat/mov.c > +++ b/libavformat/mov.c > @@ -2648,6 +2648,11 @@ static int mov_open_dref(AVIOContext **pb, const char > *src, MOVDref *ref, > "this is a possible security issue\n"); > if (!avio_open2(pb, ref->path, AVIO_FLAG_READ, int_cb, NULL)) > return 0; > + } else { > + av_log(fc, AV_LOG_ERROR, > + "Absolute path %s not tried for security reasons, " > + "pass -use_absolute_path 1 to force using absolute paths\n", > + ref->path); > } > > return AVERROR(ENOENT); ffmpeg.c options/conventions have no place in the libraries. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel