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
77b04435
Commit
77b04435
authored
Aug 29, 2008
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
speex in flv demuxing
Originally committed as revision 15028 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
5b9bb66d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
flv.h
libavformat/flv.h
+1
-0
flvdec.c
libavformat/flvdec.c
+1
-0
No files found.
libavformat/flv.h
View file @
77b04435
...
...
@@ -78,6 +78,7 @@ enum {
FLV_CODECID_NELLYMOSER_8HZ_MONO
=
5
<<
FLV_AUDIO_CODECID_OFFSET
,
FLV_CODECID_NELLYMOSER
=
6
<<
FLV_AUDIO_CODECID_OFFSET
,
FLV_CODECID_AAC
=
10
<<
FLV_AUDIO_CODECID_OFFSET
,
FLV_CODECID_SPEEX
=
11
<<
FLV_AUDIO_CODECID_OFFSET
,
};
enum
{
...
...
libavformat/flvdec.c
View file @
77b04435
...
...
@@ -53,6 +53,7 @@ static void flv_set_audio_codec(AVFormatContext *s, AVStream *astream, int flv_c
acodec
->
codec_id
=
acodec
->
bits_per_sample
==
8
?
CODEC_ID_PCM_S8
:
CODEC_ID_PCM_S16LE
;
break
;
case
FLV_CODECID_AAC
:
acodec
->
codec_id
=
CODEC_ID_AAC
;
break
;
case
FLV_CODECID_ADPCM
:
acodec
->
codec_id
=
CODEC_ID_ADPCM_SWF
;
break
;
case
FLV_CODECID_SPEEX
:
acodec
->
codec_id
=
CODEC_ID_SPEEX
;
break
;
case
FLV_CODECID_MP3
:
acodec
->
codec_id
=
CODEC_ID_MP3
;
astream
->
need_parsing
=
AVSTREAM_PARSE_FULL
;
break
;
case
FLV_CODECID_NELLYMOSER_8HZ_MONO
:
acodec
->
sample_rate
=
8000
;
//in case metadata does not otherwise declare samplerate
...
...
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