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
3cd137bf
Commit
3cd137bf
authored
Dec 29, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vf_deshake: fix strict aliassing errors
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
aa9507cc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
vf_deshake.c
libavfilter/vf_deshake.c
+4
-4
No files found.
libavfilter/vf_deshake.c
View file @
3cd137bf
...
@@ -90,10 +90,10 @@ typedef struct {
...
@@ -90,10 +90,10 @@ typedef struct {
AVFilterBufferRef
*
ref
;
///< Previous frame
AVFilterBufferRef
*
ref
;
///< Previous frame
int
rx
;
///< Maximum horizontal shift
int
rx
;
///< Maximum horizontal shift
int
ry
;
///< Maximum vertical shift
int
ry
;
///< Maximum vertical shift
enum
FillMethod
edge
;
///< Edge fill method
int
edge
;
///< Edge fill method
int
blocksize
;
///< Size of blocks to compare
int
blocksize
;
///< Size of blocks to compare
int
contrast
;
///< Contrast threshold
int
contrast
;
///< Contrast threshold
enum
SearchMethod
search
;
///< Motion search method
int
search
;
///< Motion search method
AVCodecContext
*
avctx
;
AVCodecContext
*
avctx
;
DSPContext
c
;
///< Context providing optimized SAD methods
DSPContext
c
;
///< Context providing optimized SAD methods
Transform
last
;
///< Transform from last frame
Transform
last
;
///< Transform from last frame
...
@@ -353,8 +353,8 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
...
@@ -353,8 +353,8 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
if
(
args
)
{
if
(
args
)
{
sscanf
(
args
,
"%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%255s"
,
sscanf
(
args
,
"%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%255s"
,
&
deshake
->
cx
,
&
deshake
->
cy
,
&
deshake
->
cw
,
&
deshake
->
ch
,
&
deshake
->
cx
,
&
deshake
->
cy
,
&
deshake
->
cw
,
&
deshake
->
ch
,
&
deshake
->
rx
,
&
deshake
->
ry
,
(
int
*
)
&
deshake
->
edge
,
&
deshake
->
rx
,
&
deshake
->
ry
,
&
deshake
->
edge
,
&
deshake
->
blocksize
,
&
deshake
->
contrast
,
(
int
*
)
&
deshake
->
search
,
filename
);
&
deshake
->
blocksize
,
&
deshake
->
contrast
,
&
deshake
->
search
,
filename
);
deshake
->
blocksize
/=
2
;
deshake
->
blocksize
/=
2
;
...
...
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