Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
43e96d04
Commit
43e96d04
authored
Jul 09, 2011
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support gsm_ms in caf files.
parent
a7aabda2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
caf.c
libavformat/caf.c
+1
-0
cafenc.c
libavformat/cafenc.c
+2
-0
No files found.
libavformat/caf.c
View file @
43e96d04
...
@@ -41,6 +41,7 @@ const AVCodecTag ff_codec_caf_tags[] = {
...
@@ -41,6 +41,7 @@ const AVCodecTag ff_codec_caf_tags[] = {
{
CODEC_ID_ADPCM_IMA_QT
,
MKBETAG
(
'i'
,
'm'
,
'a'
,
'4'
)
},
{
CODEC_ID_ADPCM_IMA_QT
,
MKBETAG
(
'i'
,
'm'
,
'a'
,
'4'
)
},
{
CODEC_ID_AMR_NB
,
MKBETAG
(
's'
,
'a'
,
'm'
,
'r'
)
},
{
CODEC_ID_AMR_NB
,
MKBETAG
(
's'
,
'a'
,
'm'
,
'r'
)
},
{
CODEC_ID_GSM
,
MKBETAG
(
'a'
,
'g'
,
's'
,
'm'
)
},
{
CODEC_ID_GSM
,
MKBETAG
(
'a'
,
'g'
,
's'
,
'm'
)
},
{
CODEC_ID_GSM_MS
,
MKBETAG
(
'm'
,
's'
,
0
,
'1'
)
},
{
CODEC_ID_MACE3
,
MKBETAG
(
'M'
,
'A'
,
'C'
,
'3'
)
},
{
CODEC_ID_MACE3
,
MKBETAG
(
'M'
,
'A'
,
'C'
,
'3'
)
},
{
CODEC_ID_MACE6
,
MKBETAG
(
'M'
,
'A'
,
'C'
,
'6'
)
},
{
CODEC_ID_MACE6
,
MKBETAG
(
'M'
,
'A'
,
'C'
,
'6'
)
},
{
CODEC_ID_MP3
,
MKBETAG
(
'.'
,
'm'
,
'p'
,
'3'
)
},
{
CODEC_ID_MP3
,
MKBETAG
(
'.'
,
'm'
,
'p'
,
'3'
)
},
...
...
libavformat/cafenc.c
View file @
43e96d04
...
@@ -72,6 +72,8 @@ static uint32_t samples_per_packet(enum CodecID codec_id) {
...
@@ -72,6 +72,8 @@ static uint32_t samples_per_packet(enum CodecID codec_id) {
case
CODEC_ID_GSM
:
case
CODEC_ID_GSM
:
case
CODEC_ID_QCELP
:
case
CODEC_ID_QCELP
:
return
160
;
return
160
;
case
CODEC_ID_GSM_MS
:
return
320
;
case
CODEC_ID_MP1
:
case
CODEC_ID_MP1
:
return
384
;
return
384
;
case
CODEC_ID_MP2
:
case
CODEC_ID_MP2
:
...
...
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