Skip to content
Snippets Groups Projects
Commit 15c71dfd authored by Anton Khirnov's avatar Anton Khirnov
Browse files

swf(dec): replace CODEC_ID with AV_CODEC_ID

parent e0aa5e77
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include "internal.h" #include "internal.h"
const AVCodecTag ff_swf_codec_tags[] = { const AVCodecTag ff_swf_codec_tags[] = {
{ CODEC_ID_FLV1, 0x02 }, { AV_CODEC_ID_FLV1, 0x02 },
{ CODEC_ID_VP6F, 0x04 }, { AV_CODEC_ID_VP6F, 0x04 },
{ CODEC_ID_NONE, 0 }, { AV_CODEC_ID_NONE, 0 },
}; };
...@@ -24,12 +24,12 @@ ...@@ -24,12 +24,12 @@
#include "swf.h" #include "swf.h"
static const AVCodecTag swf_audio_codec_tags[] = { static const AVCodecTag swf_audio_codec_tags[] = {
{ CODEC_ID_PCM_S16LE, 0x00 }, { AV_CODEC_ID_PCM_S16LE, 0x00 },
{ CODEC_ID_ADPCM_SWF, 0x01 }, { AV_CODEC_ID_ADPCM_SWF, 0x01 },
{ CODEC_ID_MP3, 0x02 }, { AV_CODEC_ID_MP3, 0x02 },
{ CODEC_ID_PCM_S16LE, 0x03 }, { AV_CODEC_ID_PCM_S16LE, 0x03 },
// { CODEC_ID_NELLYMOSER, 0x06 }, // { AV_CODEC_ID_NELLYMOSER, 0x06 },
{ CODEC_ID_NONE, 0 }, { AV_CODEC_ID_NONE, 0 },
}; };
static int get_swf_tag(AVIOContext *pb, int *len_ptr) static int get_swf_tag(AVIOContext *pb, int *len_ptr)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment