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
eb968023
Commit
eb968023
authored
Nov 10, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/rsd: increase the score for odd samplerate/channels to max/8
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
ef28694d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
rsd.c
libavformat/rsd.c
+2
-2
No files found.
libavformat/rsd.c
View file @
eb968023
...
...
@@ -46,9 +46,9 @@ static int rsd_probe(AVProbeData *p)
if
(
memcmp
(
p
->
buf
,
"RSD"
,
3
)
||
p
->
buf
[
3
]
-
'0'
<
2
||
p
->
buf
[
3
]
-
'0'
>
6
)
return
0
;
if
(
AV_RL32
(
p
->
buf
+
8
)
>
256
||
!
AV_RL32
(
p
->
buf
+
8
))
return
1
;
return
AVPROBE_SCORE_MAX
/
8
;
if
(
AV_RL32
(
p
->
buf
+
16
)
>
8
*
48000
||
!
AV_RL32
(
p
->
buf
+
16
))
return
1
;
return
AVPROBE_SCORE_MAX
/
8
;
return
AVPROBE_SCORE_MAX
;
}
...
...
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