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
7f3624dc
Commit
7f3624dc
authored
Feb 18, 2013
by
Matti Hamalainen
Committed by
Luca Barbato
Feb 18, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
svq3: unbreak decoding
a7d2861d
removed necessary braces.
parent
aa11cb79
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
svq3.c
libavcodec/svq3.c
+6
-4
No files found.
libavcodec/svq3.c
View file @
7f3624dc
...
...
@@ -559,20 +559,22 @@ static int svq3_decode_mb(SVQ3Context *s, unsigned int mb_type)
if
(
svq3_mc_dir
(
s
,
mb_type
-
1
,
mode
,
0
,
0
)
<
0
)
return
-
1
;
}
else
{
/* AV_PICTURE_TYPE_B */
if
(
mb_type
!=
2
)
if
(
mb_type
!=
2
)
{
if
(
svq3_mc_dir
(
s
,
0
,
mode
,
0
,
0
)
<
0
)
return
-
1
;
else
}
else
{
for
(
i
=
0
;
i
<
4
;
i
++
)
memset
(
h
->
cur_pic
.
f
.
motion_val
[
0
][
b_xy
+
i
*
h
->
b_stride
],
0
,
4
*
2
*
sizeof
(
int16_t
));
if
(
mb_type
!=
1
)
}
if
(
mb_type
!=
1
)
{
if
(
svq3_mc_dir
(
s
,
0
,
mode
,
1
,
mb_type
==
3
)
<
0
)
return
-
1
;
else
}
else
{
for
(
i
=
0
;
i
<
4
;
i
++
)
memset
(
h
->
cur_pic
.
f
.
motion_val
[
1
][
b_xy
+
i
*
h
->
b_stride
],
0
,
4
*
2
*
sizeof
(
int16_t
));
}
}
mb_type
=
MB_TYPE_16x16
;
...
...
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