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
70d8c762
Commit
70d8c762
authored
Oct 06, 2009
by
Daniel Verkamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reindent
Originally committed as revision 20182 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
811e0fc2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
wav.c
libavformat/wav.c
+7
-7
No files found.
libavformat/wav.c
View file @
70d8c762
...
@@ -163,17 +163,17 @@ static int wav_probe(AVProbeData *p)
...
@@ -163,17 +163,17 @@ static int wav_probe(AVProbeData *p)
return
0
;
return
0
;
if
(
!
memcmp
(
p
->
buf
+
8
,
"WAVE"
,
4
))
{
if
(
!
memcmp
(
p
->
buf
+
8
,
"WAVE"
,
4
))
{
if
(
!
memcmp
(
p
->
buf
,
"RIFF"
,
4
))
if
(
!
memcmp
(
p
->
buf
,
"RIFF"
,
4
))
/*
/*
Since ACT demuxer has standard WAV header at top of it's own,
Since ACT demuxer has standard WAV header at top of it's own,
returning score is decreased to avoid probe conflict
returning score is decreased to avoid probe conflict
between ACT and WAV.
between ACT and WAV.
*/
*/
return
AVPROBE_SCORE_MAX
-
1
;
return
AVPROBE_SCORE_MAX
-
1
;
else
if
(
!
memcmp
(
p
->
buf
,
"RF64"
,
4
)
&&
else
if
(
!
memcmp
(
p
->
buf
,
"RF64"
,
4
)
&&
!
memcmp
(
p
->
buf
+
12
,
"ds64"
,
4
))
!
memcmp
(
p
->
buf
+
12
,
"ds64"
,
4
))
return
AVPROBE_SCORE_MAX
;
return
AVPROBE_SCORE_MAX
;
}
}
return
0
;
return
0
;
}
}
/* wav input */
/* wav input */
...
...
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