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
f0e7b064
Commit
f0e7b064
authored
Jun 10, 2016
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/sheervideo: fix argx format support
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
9d30690f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sheervideo.c
libavcodec/sheervideo.c
+2
-2
No files found.
libavcodec/sheervideo.c
View file @
f0e7b064
...
...
@@ -1990,7 +1990,7 @@ static void decode_argx(AVCodecContext *avctx, AVFrame *p, GetBitContext *gb)
dst_b
[
x
]
=
get_bits
(
gb
,
10
);
}
}
else
{
int
pred
[
4
]
=
{
512
,
512
,
512
,
0
};
int
pred
[
4
]
=
{
512
,
512
,
512
,
512
};
for
(
x
=
0
;
x
<
avctx
->
width
;
x
++
)
{
int
r
,
g
,
b
,
a
;
...
...
@@ -2463,7 +2463,7 @@ static int decode_frame(AVCodecContext *avctx,
}
break
;
case
MKTAG
(
'A'
,
'R'
,
'G'
,
'X'
):
avctx
->
pix_fmt
=
AV_PIX_FMT_GBRAP1
2
;
avctx
->
pix_fmt
=
AV_PIX_FMT_GBRAP1
0
;
s
->
decode_frame
=
decode_argx
;
if
(
s
->
format
!=
format
)
{
build_vlc
(
&
s
->
vlc
[
0
],
l_r_rgbx
,
1024
);
...
...
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