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
bdeb54e1
Commit
bdeb54e1
authored
Apr 16, 2012
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support decoding LOCO_CRGBA.
Fixes a part of ticket #1222.
parent
884efd4e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
loco.c
libavcodec/loco.c
+1
-1
No files found.
libavcodec/loco.c
View file @
bdeb54e1
...
...
@@ -210,7 +210,7 @@ static int decode_frame(AVCodecContext *avctx,
decoded
=
loco_decode_plane
(
l
,
p
->
data
[
0
]
+
p
->
linesize
[
0
]
*
(
avctx
->
height
-
1
)
+
2
,
avctx
->
width
,
avctx
->
height
,
-
p
->
linesize
[
0
],
buf
,
buf_size
,
3
);
break
;
case
LOCO_RGBA
:
case
LOCO_
CRGBA
:
LOCO_
RGBA
:
decoded
=
loco_decode_plane
(
l
,
p
->
data
[
0
],
avctx
->
width
,
avctx
->
height
,
p
->
linesize
[
0
],
buf
,
buf_size
,
4
);
buf
+=
decoded
;
buf_size
-=
decoded
;
...
...
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