Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
50d6b7bd
Commit
50d6b7bd
authored
May 06, 2018
by
Marton Balint
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/xwddec: fix palette alpha
Signed-off-by:
Marton Balint
<
cus@passwd.hu
>
parent
673d8cfd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
xwddec.c
libavcodec/xwddec.c
+1
-1
xwd
tests/ref/lavf/xwd
+2
-2
No files found.
libavcodec/xwddec.c
View file @
50d6b7bd
...
...
@@ -227,7 +227,7 @@ static int xwd_decode_frame(AVCodecContext *avctx, void *data,
blue
=
bytestream2_get_byteu
(
&
gb
);
bytestream2_skipu
(
&
gb
,
3
);
// skip bitmask flag and padding
dst
[
i
]
=
red
<<
16
|
green
<<
8
|
blue
;
dst
[
i
]
=
0xFFU
<<
24
|
red
<<
16
|
green
<<
8
|
blue
;
}
}
...
...
tests/ref/lavf/xwd
View file @
50d6b7bd
...
...
@@ -11,10 +11,10 @@ c0866e9e710fce735423594a93bee604 *./tests/data/images/xwd/02.xwd
./tests/data/images/xwd/%02d.xwd CRC=0x14555d6e
202863 ./tests/data/images/xwd/02.xwd
c6f3cb7c45f7238474a89d2ad61a1caf *./tests/data/images/xwd/02.xwd
./tests/data/images/xwd/%02d.xwd CRC=0xf
aafb59b
./tests/data/images/xwd/%02d.xwd CRC=0xf
217a95e
104559 ./tests/data/images/xwd/02.xwd
fe1af954966a40c2cd35fc27094ff823 *./tests/data/images/xwd/02.xwd
./tests/data/images/xwd/%02d.xwd CRC=0x
d69c3a09
./tests/data/images/xwd/%02d.xwd CRC=0x
ce042dcc
104559 ./tests/data/images/xwd/02.xwd
85e9b8b814a1dea71d143aac2e487037 *./tests/data/images/xwd/02.xwd
./tests/data/images/xwd/%02d.xwd CRC=0x0ff205be
...
...
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