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
2aaf590b
Commit
2aaf590b
authored
May 27, 2008
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetics
Originally committed as revision 13461 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
11dae336
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
swfenc.c
libavformat/swfenc.c
+3
-9
No files found.
libavformat/swfenc.c
View file @
2aaf590b
...
...
@@ -312,15 +312,9 @@ static int swf_write_header(AVFormatContext *s)
/* start sound */
put_swf_tag
(
s
,
TAG_STREAMHEAD2
);
switch
(
audio_enc
->
sample_rate
)
{
case
11025
:
v
|=
1
<<
2
;
break
;
case
22050
:
v
|=
2
<<
2
;
break
;
case
44100
:
v
|=
3
<<
2
;
break
;
case
11025
:
v
|=
1
<<
2
;
break
;
case
22050
:
v
|=
2
<<
2
;
break
;
case
44100
:
v
|=
3
<<
2
;
break
;
default:
/* not supported */
av_log
(
s
,
AV_LOG_ERROR
,
"swf does not support that sample rate, choose from (44100, 22050, 11025).
\n
"
);
...
...
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