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
6d695038
Commit
6d695038
authored
Jul 29, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/format: simplify ifdeffery
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
58eaa951
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
format.c
libavformat/format.c
+1
-3
No files found.
libavformat/format.c
View file @
6d695038
...
...
@@ -272,9 +272,7 @@ int av_probe_input_buffer2(AVIOContext *pb, AVInputFormat **fmt,
#if FF_API_PROBE_MIME
if
(
pb
->
av_class
)
av_opt_get
(
pb
,
"mime_type"
,
AV_OPT_SEARCH_CHILDREN
,
&
pd
.
mime_type
);
#endif
#if !FF_API_PROBE_MIME
#else
if
(
!*
fmt
&&
pb
->
av_class
&&
av_opt_get
(
pb
,
"mime_type"
,
AV_OPT_SEARCH_CHILDREN
,
&
mime_type
)
>=
0
&&
mime_type
)
{
if
(
!
av_strcasecmp
(
mime_type
,
"audio/aacp"
))
{
*
fmt
=
av_find_input_format
(
"aac"
);
...
...
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