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
b7d1cd02
Commit
b7d1cd02
authored
May 02, 2008
by
Bartlomiej Wolowiec
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Nellymoser handling in FLV
Originally committed as revision 13032 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
17ac9f1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
flvenc.c
libavformat/flvenc.c
+4
-0
No files found.
libavformat/flvenc.c
View file @
b7d1cd02
...
...
@@ -39,6 +39,7 @@ static const AVCodecTag flv_audio_codec_ids[] = {
{
CODEC_ID_PCM_S16BE
,
FLV_CODECID_PCM
>>
FLV_AUDIO_CODECID_OFFSET
},
{
CODEC_ID_PCM_S16LE
,
FLV_CODECID_PCM_LE
>>
FLV_AUDIO_CODECID_OFFSET
},
{
CODEC_ID_ADPCM_SWF
,
FLV_CODECID_ADPCM
>>
FLV_AUDIO_CODECID_OFFSET
},
{
CODEC_ID_NELLYMOSER
,
FLV_CODECID_NELLYMOSER
>>
FLV_AUDIO_CODECID_OFFSET
},
{
CODEC_ID_NONE
,
0
}
};
...
...
@@ -95,6 +96,9 @@ static int get_audio_flags(AVCodecContext *enc){
case
CODEC_ID_ADPCM_SWF
:
flags
|=
FLV_CODECID_ADPCM
|
FLV_SAMPLESSIZE_16BIT
;
break
;
case
CODEC_ID_NELLYMOSER
:
flags
|=
FLV_CODECID_NELLYMOSER
|
FLV_SAMPLESSIZE_16BIT
;
break
;
case
0
:
flags
|=
enc
->
codec_tag
<<
4
;
break
;
...
...
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