Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
3d158538
Commit
3d158538
authored
Sep 02, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmdutils: revert avconv rename of pathes
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
6233a3a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
cmdutils.c
cmdutils.c
+4
-4
No files found.
cmdutils.c
View file @
3d158538
...
...
@@ -751,9 +751,9 @@ FILE *get_preset_file(char *filename, size_t filename_size,
{
FILE
*
f
=
NULL
;
int
i
;
const
char
*
base
[
3
]
=
{
getenv
(
"
AVCONV
_DATADIR"
),
const
char
*
base
[
3
]
=
{
getenv
(
"
FFMPEG
_DATADIR"
),
getenv
(
"HOME"
),
AVCONV
_DATADIR
,
FFMPEG
_DATADIR
,
};
if
(
is_path
)
{
...
...
@@ -780,11 +780,11 @@ FILE *get_preset_file(char *filename, size_t filename_size,
for
(
i
=
0
;
i
<
3
&&
!
f
;
i
++
)
{
if
(
!
base
[
i
])
continue
;
snprintf
(
filename
,
filename_size
,
"%s%s/%s.ffpreset"
,
base
[
i
],
i
!=
1
?
""
:
"/.
avconv
"
,
preset_name
);
snprintf
(
filename
,
filename_size
,
"%s%s/%s.ffpreset"
,
base
[
i
],
i
!=
1
?
""
:
"/.
ffmpeg
"
,
preset_name
);
f
=
fopen
(
filename
,
"r"
);
if
(
!
f
&&
codec_name
)
{
snprintf
(
filename
,
filename_size
,
"%s%s/%s-%s.ffpreset"
,
base
[
i
],
i
!=
1
?
""
:
"/.
avconv
"
,
codec_name
,
preset_name
);
"%s%s/%s-%s.ffpreset"
,
base
[
i
],
i
!=
1
?
""
:
"/.
ffmpeg
"
,
codec_name
,
preset_name
);
f
=
fopen
(
filename
,
"r"
);
}
}
...
...
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