mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
swf: Move swf_audio_codec_tags table to the only place it is used
This commit is contained in:
parent
84f9d78a96
commit
2804ba6a3b
@ -84,13 +84,4 @@ static const AVCodecTag swf_codec_tags[] = {
|
|||||||
{ AV_CODEC_ID_NONE, 0},
|
{ 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 */
|
#endif /* AVFORMAT_SWF_H */
|
||||||
|
@ -23,6 +23,15 @@
|
|||||||
#include "libavutil/intreadwrite.h"
|
#include "libavutil/intreadwrite.h"
|
||||||
#include "swf.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)
|
static int get_swf_tag(AVIOContext *pb, int *len_ptr)
|
||||||
{
|
{
|
||||||
int tag, len;
|
int tag, len;
|
||||||
|
Loading…
Reference in New Issue
Block a user