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
07c4ed85
Commit
07c4ed85
authored
May 24, 2002
by
Philip Gladstone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Add a probe function for FFM files
Originally committed as revision 580 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
b582f314
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
ffm.c
libav/ffm.c
+9
-1
No files found.
libav/ffm.c
View file @
07c4ed85
...
...
@@ -608,11 +608,19 @@ static int ffm_read_close(AVFormatContext *s)
return
0
;
}
static
int
ffm_probe
(
AVProbeData
*
p
)
{
if
(
memcmp
(
p
->
buf
,
"FFM"
,
3
)
==
0
)
return
AVPROBE_SCORE_MAX
+
1
;
return
0
;
}
AVInputFormat
ffm_iformat
=
{
"ffm"
,
"ffm format"
,
sizeof
(
FFMContext
)
+
FFM_PACKET_SIZE
,
NULL
,
ffm_probe
,
ffm_read_header
,
ffm_read_packet
,
ffm_read_close
,
...
...
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