swf: Move swf_audio_codec_tags table to the only place it is used
authorDiego Biurrun <diego@biurrun.de>
Wed, 8 Aug 2012 13:51:59 +0000 (15:51 +0200)
committerDiego Biurrun <diego@biurrun.de>
Thu, 9 Aug 2012 18:05:53 +0000 (20:05 +0200)
libavformat/swf.h
libavformat/swfdec.c

index 14330c1..10a05f5 100644 (file)
@@ -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 */
index 3666f93..cef486c 100644 (file)
 #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;