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
073effb6
Commit
073effb6
authored
Oct 04, 2011
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deshake: simplify filename check.
parent
e39be59b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vf_deshake.c
libavfilter/vf_deshake.c
+1
-1
No files found.
libavfilter/vf_deshake.c
View file @
073effb6
...
@@ -356,7 +356,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
...
@@ -356,7 +356,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
deshake
->
contrast
=
av_clip
(
deshake
->
contrast
,
1
,
255
);
deshake
->
contrast
=
av_clip
(
deshake
->
contrast
,
1
,
255
);
deshake
->
search
=
av_clip
(
deshake
->
search
,
EXHAUSTIVE
,
SEARCH_COUNT
-
1
);
deshake
->
search
=
av_clip
(
deshake
->
search
,
EXHAUSTIVE
,
SEARCH_COUNT
-
1
);
}
}
if
(
strlen
(
filename
)
)
if
(
*
filename
)
deshake
->
fp
=
fopen
(
filename
,
"w"
);
deshake
->
fp
=
fopen
(
filename
,
"w"
);
if
(
deshake
->
fp
)
if
(
deshake
->
fp
)
fwrite
(
"Ori x, Avg x, Fin x, Ori y, Avg y, Fin y, Ori angle, Avg angle, Fin angle, Ori zoom, Avg zoom, Fin zoom
\n
"
,
sizeof
(
char
),
104
,
deshake
->
fp
);
fwrite
(
"Ori x, Avg x, Fin x, Ori y, Avg y, Fin y, Ori angle, Avg angle, Fin angle, Ori zoom, Avg zoom, Fin zoom
\n
"
,
sizeof
(
char
),
104
,
deshake
->
fp
);
...
...
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