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
61c82214
Commit
61c82214
authored
Jun 24, 2013
by
Derek Buitenhuis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cllc: Use outbuf in RGB and ARGB functions
Signed-off-by:
Derek Buitenhuis
<
derek.buitenhuis@gmail.com
>
parent
d48f2219
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
cllc.c
libavcodec/cllc.c
+5
-6
No files found.
libavcodec/cllc.c
View file @
61c82214
...
...
@@ -136,14 +136,13 @@ static int read_argb_line(CLLCContext *ctx, GetBitContext *gb, int *top_left,
CLOSE_READER
(
bits
,
gb
);
dst
-=
4
*
ctx
->
avctx
->
width
;
top_left
[
0
]
=
dst
[
0
];
top_left
[
0
]
=
outbuf
[
0
];
/* Only stash components if they are not transparent */
if
(
top_left
[
0
])
{
top_left
[
1
]
=
dst
[
1
];
top_left
[
2
]
=
dst
[
2
];
top_left
[
3
]
=
dst
[
3
];
top_left
[
1
]
=
outbuf
[
1
];
top_left
[
2
]
=
outbuf
[
2
];
top_left
[
3
]
=
outbuf
[
3
];
}
return
0
;
...
...
@@ -174,7 +173,7 @@ static int read_rgb24_component_line(CLLCContext *ctx, GetBitContext *gb,
CLOSE_READER
(
bits
,
gb
);
/* Stash the first pixel */
*
top_left
=
dst
[
-
3
*
ctx
->
avctx
->
width
];
*
top_left
=
outbuf
[
0
];
return
0
;
}
...
...
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