Am Fr., 13. März 2020 um 00:38 Uhr schrieb Stephen Hutchinson <qyo...@gmail.com>: > > --- > libavformat/avisynth.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavformat/avisynth.c b/libavformat/avisynth.c > index 43b65badc9..2c08ace8db 100644 > --- a/libavformat/avisynth.c > +++ b/libavformat/avisynth.c > @@ -555,12 +555,12 @@ static int avisynth_open_file(AVFormatContext *s) > > #ifdef _WIN32 > /* Convert UTF-8 to ANSI code page */ > - MultiByteToWideChar(CP_UTF8, 0, s->filename, -1, filename_wc, MAX_PATH * > 4); > + MultiByteToWideChar(CP_UTF8, 0, s->url, -1, filename_wc, MAX_PATH * 4); > WideCharToMultiByte(CP_THREAD_ACP, 0, filename_wc, -1, filename_ansi, > MAX_PATH * 4, NULL, NULL); > arg = avs_new_value_string(filename_ansi); > #else > - arg = avs_new_value_string(s->filename); > + arg = avs_new_value_string(s->url); > #endif > val = avs_library.avs_invoke(avs->env, "Import", arg, 0); > if (avs_is_error(val)) { > -- > 2.20.1
Applying: avisynth: fix deprecation warning error: patch failed: libavformat/avisynth.c:555 error: libavformat/avisynth.c: patch does not apply Patch failed at 0001 avisynth: fix deprecation warning Carl Eugen _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".