Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
e020dbd2
Commit
e020dbd2
authored
17 years ago
by
Michael Niedermayer
Browse files
Options
Downloads
Patches
Plain Diff
flac probe
closes issue83 Originally committed as revision 10059 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
9c3e2f78
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavformat/raw.c
+7
-1
7 additions, 1 deletion
libavformat/raw.c
with
7 additions
and
1 deletion
libavformat/raw.c
+
7
−
1
View file @
e020dbd2
...
@@ -434,6 +434,12 @@ static int ac3_probe(AVProbeData *p)
...
@@ -434,6 +434,12 @@ static int ac3_probe(AVProbeData *p)
else
return
0
;
else
return
0
;
}
}
static
int
flac_probe
(
AVProbeData
*
p
)
{
if
(
memcmp
(
p
->
buf
,
"fLaC"
,
4
))
return
0
;
else
AVPROBE_SCORE_MAX
/
2
;
}
AVInputFormat
shorten_demuxer
=
{
AVInputFormat
shorten_demuxer
=
{
"shn"
,
"shn"
,
"raw shorten"
,
"raw shorten"
,
...
@@ -450,7 +456,7 @@ AVInputFormat flac_demuxer = {
...
@@ -450,7 +456,7 @@ AVInputFormat flac_demuxer = {
"flac"
,
"flac"
,
"raw flac"
,
"raw flac"
,
0
,
0
,
NULL
,
flac_probe
,
flac_read_header
,
flac_read_header
,
raw_read_partial_packet
,
raw_read_partial_packet
,
raw_read_close
,
raw_read_close
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment