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
554d3ad7
Commit
554d3ad7
authored
May 07, 2011
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pnmdec: reindent after the previous commit
parent
4a745b41
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
pnmdec.c
libavcodec/pnmdec.c
+5
-5
No files found.
libavcodec/pnmdec.c
View file @
554d3ad7
...
@@ -109,11 +109,11 @@ static int pnm_decode_frame(AVCodecContext *avctx, void *data,
...
@@ -109,11 +109,11 @@ static int pnm_decode_frame(AVCodecContext *avctx, void *data,
/* read a single digit */
/* read a single digit */
v
=
(
*
s
->
bytestream
++
)
-
'0'
;
v
=
(
*
s
->
bytestream
++
)
-
'0'
;
}
else
{
}
else
{
/* read a sequence of digits */
/* read a sequence of digits */
do
{
do
{
v
=
10
*
v
+
c
;
v
=
10
*
v
+
c
;
c
=
(
*
s
->
bytestream
++
)
-
'0'
;
c
=
(
*
s
->
bytestream
++
)
-
'0'
;
}
while
(
c
<=
9
);
}
while
(
c
<=
9
);
}
}
put_bits
(
&
pb
,
sample_len
,
(((
1
<<
sample_len
)
-
1
)
*
v
+
(
s
->
maxval
>>
1
))
/
s
->
maxval
);
put_bits
(
&
pb
,
sample_len
,
(((
1
<<
sample_len
)
-
1
)
*
v
+
(
s
->
maxval
>>
1
))
/
s
->
maxval
);
}
}
...
...
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