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
3821c004
Commit
3821c004
authored
Jun 29, 2017
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/interplayvideo: fix regression causing artifacts
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
4d681269
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
interplayvideo.c
libavcodec/interplayvideo.c
+3
-1
No files found.
libavcodec/interplayvideo.c
View file @
3821c004
...
...
@@ -1044,12 +1044,14 @@ static void ipvideo_decode_format_10_opcodes(IpvideoContext *s, AVFrame *frame)
for
(
x
=
0
;
x
<
s
->
avctx
->
width
;
x
+=
8
)
{
s
->
pixel_ptr
=
s
->
cur_decode_frame
->
data
[
0
]
+
x
+
y
*
s
->
cur_decode_frame
->
linesize
[
0
];
while
(
skip
<=
0
&&
bytestream2_get_bytes_left
(
&
skip_map_ptr
)
>
1
)
{
while
(
skip
<=
0
)
{
if
(
skip
!=
-
0x8000
&&
skip
)
{
opcode
=
bytestream2_get_le16
(
&
decoding_map_ptr
);
ipvideo_format_10_passes
[
pass
](
s
,
frame
,
opcode
);
break
;
}
if
(
bytestream2_get_bytes_left
(
&
skip_map_ptr
)
<
2
)
return
;
skip
=
bytestream2_get_le16
(
&
skip_map_ptr
);
}
skip
*=
2
;
...
...
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