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
2c98dc75
Commit
2c98dc75
authored
Nov 11, 2014
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vc1dec: always initialize tx and ty
CC: libav-stable@libav.org Bug-Id: CID 1245702 / CID 1245703
parent
e3f50f24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vc1_mc.c
libavcodec/vc1_mc.c
+1
-1
No files found.
libavcodec/vc1_mc.c
View file @
2c98dc75
...
...
@@ -302,7 +302,7 @@ void ff_vc1_mc_4mv_luma(VC1Context *v, int n, int dir, int avg)
if
(
s
->
pict_type
==
AV_PICTURE_TYPE_P
&&
n
==
3
&&
v
->
field_mode
)
{
int
same_count
=
0
,
opp_count
=
0
,
k
;
int
chosen_mv
[
2
][
4
][
2
],
f
;
int
tx
,
ty
;
int
tx
=
0
,
ty
=
0
;
for
(
k
=
0
;
k
<
4
;
k
++
)
{
f
=
v
->
mv_f
[
0
][
s
->
block_index
[
k
]
+
v
->
blocks_off
];
chosen_mv
[
f
][
f
?
opp_count
:
same_count
][
0
]
=
s
->
mv
[
0
][
k
][
0
];
...
...
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