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
61aca123
Commit
61aca123
authored
Feb 01, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/h261dec: Fix exported MVs for skipped MBs
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
0182e5a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
h261dec.c
libavcodec/h261dec.c
+7
-0
No files found.
libavcodec/h261dec.c
View file @
61aca123
...
...
@@ -216,6 +216,13 @@ static int h261_decode_mb_skipped(H261Context *h, int mba1, int mba2)
s
->
mb_skipped
=
1
;
h
->
mtype
&=
~
MB_TYPE_H261_FIL
;
if
(
s
->
current_picture
.
motion_val
[
0
])
{
int
b_stride
=
2
*
s
->
mb_width
+
1
;
int
b_xy
=
2
*
s
->
mb_x
+
(
2
*
s
->
mb_y
)
*
b_stride
;
s
->
current_picture
.
motion_val
[
0
][
b_xy
][
0
]
=
s
->
mv
[
0
][
0
][
0
];
s
->
current_picture
.
motion_val
[
0
][
b_xy
][
1
]
=
s
->
mv
[
0
][
0
][
1
];
}
ff_mpv_decode_mb
(
s
,
s
->
block
);
}
...
...
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