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
2804ba6a
Commit
2804ba6a
authored
Aug 08, 2012
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swf: Move swf_audio_codec_tags table to the only place it is used
parent
84f9d78a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
swf.h
libavformat/swf.h
+0
-9
swfdec.c
libavformat/swfdec.c
+9
-0
No files found.
libavformat/swf.h
View file @
2804ba6a
...
...
@@ -84,13 +84,4 @@ static const AVCodecTag swf_codec_tags[] = {
{
AV_CODEC_ID_NONE
,
0
},
};
static
const
AVCodecTag
swf_audio_codec_tags
[]
=
{
{
AV_CODEC_ID_PCM_S16LE
,
0x00
},
{
AV_CODEC_ID_ADPCM_SWF
,
0x01
},
{
AV_CODEC_ID_MP3
,
0x02
},
{
AV_CODEC_ID_PCM_S16LE
,
0x03
},
//{ AV_CODEC_ID_NELLYMOSER, 0x06},
{
AV_CODEC_ID_NONE
,
0
},
};
#endif
/* AVFORMAT_SWF_H */
libavformat/swfdec.c
View file @
2804ba6a
...
...
@@ -23,6 +23,15 @@
#include "libavutil/intreadwrite.h"
#include "swf.h"
static
const
AVCodecTag
swf_audio_codec_tags
[]
=
{
{
CODEC_ID_PCM_S16LE
,
0x00
},
{
CODEC_ID_ADPCM_SWF
,
0x01
},
{
CODEC_ID_MP3
,
0x02
},
{
CODEC_ID_PCM_S16LE
,
0x03
},
// { CODEC_ID_NELLYMOSER, 0x06 },
{
CODEC_ID_NONE
,
0
},
};
static
int
get_swf_tag
(
AVIOContext
*
pb
,
int
*
len_ptr
)
{
int
tag
,
len
;
...
...
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