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
1d0f817b
Commit
1d0f817b
authored
Apr 24, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vc1dec: Fix mv_f shuffling
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
62d94453
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
vc1dec.c
libavcodec/vc1dec.c
+2
-0
No files found.
libavcodec/vc1dec.c
View file @
1d0f817b
...
...
@@ -6014,6 +6014,7 @@ static int vc1_decode_frame(AVCodecContext *avctx, void *data,
s
->
current_picture
.
f
.
linesize
[
2
]
<<=
1
;
s
->
linesize
<<=
1
;
s
->
uvlinesize
<<=
1
;
if
(
v
->
s
.
pict_type
!=
AV_PICTURE_TYPE_BI
&&
v
->
s
.
pict_type
!=
AV_PICTURE_TYPE_B
)
{
tmp
[
0
]
=
v
->
mv_f_last
[
0
];
tmp
[
1
]
=
v
->
mv_f_last
[
1
];
v
->
mv_f_last
[
0
]
=
v
->
mv_f_next
[
0
];
...
...
@@ -6022,6 +6023,7 @@ static int vc1_decode_frame(AVCodecContext *avctx, void *data,
v
->
mv_f_next
[
1
]
=
v
->
mv_f
[
1
];
v
->
mv_f
[
0
]
=
tmp
[
0
];
v
->
mv_f
[
1
]
=
tmp
[
1
];
}
}
mb_height
=
s
->
mb_height
>>
v
->
field_mode
;
for
(
i
=
0
;
i
<=
n_slices
;
i
++
)
{
...
...
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