Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
56f59246
Commit
56f59246
authored
Mar 12, 2020
by
Stephen Hutchinson
Committed by
Marton Balint
Apr 04, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/avisynth: fix deprecation warning
parent
6e959ad6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
avisynth.c
libavformat/avisynth.c
+2
-2
No files found.
libavformat/avisynth.c
View file @
56f59246
...
@@ -555,12 +555,12 @@ static int avisynth_open_file(AVFormatContext *s)
...
@@ -555,12 +555,12 @@ static int avisynth_open_file(AVFormatContext *s)
#ifdef _WIN32
#ifdef _WIN32
/* Convert UTF-8 to ANSI code page */
/* 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
,
WideCharToMultiByte
(
CP_THREAD_ACP
,
0
,
filename_wc
,
-
1
,
filename_ansi
,
MAX_PATH
*
4
,
NULL
,
NULL
);
MAX_PATH
*
4
,
NULL
,
NULL
);
arg
=
avs_new_value_string
(
filename_ansi
);
arg
=
avs_new_value_string
(
filename_ansi
);
#else
#else
arg
=
avs_new_value_string
(
s
->
filename
);
arg
=
avs_new_value_string
(
s
->
url
);
#endif
#endif
val
=
avs_library
.
avs_invoke
(
avs
->
env
,
"Import"
,
arg
,
0
);
val
=
avs_library
.
avs_invoke
(
avs
->
env
,
"Import"
,
arg
,
0
);
if
(
avs_is_error
(
val
))
{
if
(
avs_is_error
(
val
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment