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
fd8a8373
Commit
fd8a8373
authored
Jan 19, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pngdec: Fix masks for interlaced decoding
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
602e97df
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
png.c
libavcodec/png.c
+1
-1
pngdec.c
libavcodec/pngdec.c
+1
-1
No files found.
libavcodec/png.c
View file @
fd8a8373
...
...
@@ -41,7 +41,7 @@ static const uint8_t ff_png_pass_xshift[NB_PASSES] = {
/* Mask to determine which pixels are valid in a pass */
const
uint8_t
ff_png_pass_mask
[
NB_PASSES
]
=
{
0x
80
,
0x08
,
0x88
,
0x22
,
0xaa
,
0x55
,
0xff
0x
01
,
0x01
,
0x11
,
0x11
,
0x55
,
0x55
,
0xff
,
};
void
*
ff_png_zalloc
(
void
*
opaque
,
unsigned
int
items
,
unsigned
int
size
)
...
...
libavcodec/pngdec.c
View file @
fd8a8373
...
...
@@ -34,7 +34,7 @@
/* Mask to determine which y pixels can be written in a pass */
static
const
uint8_t
png_pass_dsp_ymask
[
NB_PASSES
]
=
{
0xff
,
0xff
,
0x0f
,
0x
cc
,
0x33
,
0xff
,
0x55
,
0xff
,
0xff
,
0x0f
,
0x
ff
,
0x33
,
0xff
,
0x55
,
};
/* Mask to determine which pixels to overwrite while displaying */
...
...
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