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
66387389
Commit
66387389
authored
Aug 26, 2013
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msrledec: use bytestream2_get_bufferu()
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
f12c27da
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
msrledec.c
libavcodec/msrledec.c
+3
-3
No files found.
libavcodec/msrledec.c
View file @
66387389
...
...
@@ -184,9 +184,9 @@ static int msrle_decode_8_16_24_32(AVCodecContext *avctx, AVPicture *pic,
}
if
((
depth
==
8
)
||
(
depth
==
24
))
{
for
(
i
=
0
;
i
<
p2
*
(
depth
>>
3
);
i
++
)
{
*
output
++
=
bytestream2_get_byteu
(
gb
);
}
bytestream2_get_bufferu
(
gb
,
output
,
p2
*
(
depth
>>
3
));
output
+=
p2
*
(
depth
>>
3
);
// RLE8 copy is actually padded - and runs are not!
if
(
depth
==
8
&&
(
p2
&
1
))
{
bytestream2_skip
(
gb
,
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