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
1d69ab9d
Commit
1d69ab9d
authored
Dec 03, 2014
by
Benoit Fouet
Committed by
Michael Niedermayer
Dec 03, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/pngdec: fix indentation in handle_row()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
6e9b060e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
pngdec.c
libavcodec/pngdec.c
+6
-6
No files found.
libavcodec/pngdec.c
View file @
1d69ab9d
...
...
@@ -307,13 +307,13 @@ static void png_handle_row(PNGDecContext *s)
if
(
!
s
->
interlace_type
)
{
ptr
=
s
->
image_buf
+
s
->
image_linesize
*
(
s
->
y
+
s
->
y_offset
)
+
s
->
x_offset
*
s
->
bpp
;
if
(
s
->
y
==
0
)
last_row
=
s
->
last_row
;
else
last_row
=
ptr
-
s
->
image_linesize
;
if
(
s
->
y
==
0
)
last_row
=
s
->
last_row
;
else
last_row
=
ptr
-
s
->
image_linesize
;
png_filter_row
(
&
s
->
dsp
,
ptr
,
s
->
crow_buf
[
0
],
s
->
crow_buf
+
1
,
last_row
,
s
->
row_size
,
s
->
bpp
);
png_filter_row
(
&
s
->
dsp
,
ptr
,
s
->
crow_buf
[
0
],
s
->
crow_buf
+
1
,
last_row
,
s
->
row_size
,
s
->
bpp
);
/* loco lags by 1 row so that it doesn't interfere with top prediction */
if
(
s
->
filter_type
==
PNG_FILTER_TYPE_LOCO
&&
s
->
y
>
0
)
{
if
(
s
->
bit_depth
==
16
)
{
...
...
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