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
65a00bd6
Commit
65a00bd6
authored
Apr 08, 2007
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
factorize
Originally committed as revision 8678 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
87e87886
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
nsvdec.c
libavformat/nsvdec.c
+1
-4
No files found.
libavformat/nsvdec.c
View file @
65a00bd6
...
...
@@ -728,12 +728,9 @@ static int nsv_probe(AVProbeData *p)
int
i
;
// PRINT(("nsv_probe(), buf_size %d\n", p->buf_size));
/* check file header */
if
(
p
->
buf
[
0
]
==
'N'
&&
p
->
buf
[
1
]
==
'S'
&&
p
->
buf
[
2
]
==
'V'
&&
p
->
buf
[
3
]
==
'f'
)
return
AVPROBE_SCORE_MAX
;
/* streamed files might not have any header */
if
(
p
->
buf
[
0
]
==
'N'
&&
p
->
buf
[
1
]
==
'S'
&&
p
->
buf
[
2
]
==
'V'
&&
p
->
buf
[
3
]
==
's'
)
p
->
buf
[
2
]
==
'V'
&&
(
p
->
buf
[
3
]
==
'f'
||
p
->
buf
[
3
]
==
's'
)
)
return
AVPROBE_SCORE_MAX
;
/* XXX: do streamed files always start at chunk boundary ?? */
/* or do we need to search NSVs in the byte stream ? */
...
...
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