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
c8370a17
Commit
c8370a17
authored
Sep 14, 2015
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat: fix style after recent commits
parent
1de21215
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
format.c
libavformat/format.c
+3
-3
mpjpegdec.c
libavformat/mpjpegdec.c
+5
-5
No files found.
libavformat/format.c
View file @
c8370a17
...
...
@@ -261,12 +261,12 @@ int av_probe_input_buffer2(AVIOContext *pb, AVInputFormat **fmt,
if
(
pb
->
av_class
)
{
uint8_t
*
mime_type_opt
=
NULL
;
char
*
semi
;
char
*
semi
;
av_opt_get
(
pb
,
"mime_type"
,
AV_OPT_SEARCH_CHILDREN
,
&
mime_type_opt
);
pd
.
mime_type
=
(
const
char
*
)
mime_type_opt
;
semi
=
pd
.
mime_type
?
strchr
(
pd
.
mime_type
,
';'
)
:
NULL
;
semi
=
pd
.
mime_type
?
strchr
(
pd
.
mime_type
,
';'
)
:
NULL
;
if
(
semi
)
{
*
semi
=
'\0'
;
*
semi
=
'\0'
;
}
}
#if 0
...
...
libavformat/mpjpegdec.c
View file @
c8370a17
...
...
@@ -43,12 +43,12 @@ static int get_line(AVIOContext *pb, char *line, int line_size)
static
void
trim_right
(
char
*
p
)
{
char
*
end
;
char
*
end
;
if
(
!
p
||
!*
p
)
return
;
end
=
p
+
strlen
(
p
)
-
1
;
while
(
end
!=
p
&&
av_isspace
(
*
end
))
{
*
end
=
'\0'
;
end
=
p
+
strlen
(
p
)
-
1
;
while
(
end
!=
p
&&
av_isspace
(
*
end
))
{
*
end
=
'\0'
;
end
--
;
}
}
...
...
@@ -172,7 +172,7 @@ static int parse_multipart_header(AVIOContext *pb, void *log_ctx)
ret
=
get_line
(
pb
,
line
,
sizeof
(
line
));
if
(
ret
<
0
)
{
if
(
ret
==
AVERROR_EOF
)
if
(
ret
==
AVERROR_EOF
)
break
;
return
ret
;
}
...
...
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