Hi! Attached patch intends to make it more obvious what the user has to do to decode reference mov files.
Please comment, Carl Eugen
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-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel