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
cd9c03f5
Commit
cd9c03f5
authored
Mar 13, 2010
by
David Conrad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vp3: Init MVs to 0
Originally committed as revision 22495 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
a16389c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
vp3.c
libavcodec/vp3.c
+2
-4
No files found.
libavcodec/vp3.c
View file @
cd9c03f5
...
...
@@ -294,8 +294,8 @@ static void init_frame(Vp3DecodeContext *s, GetBitContext *gb)
/* zero out all of the fragment information */
for
(
i
=
0
;
i
<
s
->
fragment_count
;
i
++
)
{
s
->
all_fragments
[
i
].
motion_x
=
127
;
s
->
all_fragments
[
i
].
motion_y
=
127
;
s
->
all_fragments
[
i
].
motion_x
=
0
;
s
->
all_fragments
[
i
].
motion_y
=
0
;
s
->
all_fragments
[
i
].
dc
=
0
;
s
->
all_fragments
[
i
].
qpi
=
0
;
}
...
...
@@ -1402,8 +1402,6 @@ static void render_slice(Vp3DecodeContext *s, int slice)
src_x
=
(
motion_x
>>
1
)
+
8
*
x
;
src_y
=
(
motion_y
>>
1
)
+
8
*
y
;
if
((
motion_x
==
127
)
||
(
motion_y
==
127
))
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
" help! got invalid motion vector! (%X, %X)
\n
"
,
motion_x
,
motion_y
);
motion_halfpel_index
=
motion_x
&
0x01
;
motion_source
+=
(
motion_x
>>
1
);
...
...
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