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
a6a453cc
Commit
a6a453cc
authored
Sep 03, 2016
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics: Reindent after
e82b181f
.
parent
e82b181f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
mjpegdec.c
libavcodec/mjpegdec.c
+8
-8
No files found.
libavcodec/mjpegdec.c
View file @
a6a453cc
...
...
@@ -1692,14 +1692,14 @@ static int mjpeg_decode_app(MJpegDecodeContext *s)
len
-=
8
;
if
(
len
>=
2
)
{
t_w
=
get_bits
(
&
s
->
gb
,
8
);
t_h
=
get_bits
(
&
s
->
gb
,
8
);
if
(
t_w
&&
t_h
)
{
/* skip thumbnail */
if
(
len
-
10
-
(
t_w
*
t_h
*
3
)
>
0
)
len
-=
t_w
*
t_h
*
3
;
}
len
-=
2
;
t_w
=
get_bits
(
&
s
->
gb
,
8
);
t_h
=
get_bits
(
&
s
->
gb
,
8
);
if
(
t_w
&&
t_h
)
{
/* skip thumbnail */
if
(
len
-
10
-
(
t_w
*
t_h
*
3
)
>
0
)
len
-=
t_w
*
t_h
*
3
;
}
len
-=
2
;
}
goto
out
;
}
...
...
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