use the most appropriate codec id for A_MPEG/L1 and L2
authorAurelien Jacobs <aurel@gnuage.org>
Wed, 25 Jul 2007 15:59:26 +0000 (15:59 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Wed, 25 Jul 2007 15:59:26 +0000 (15:59 +0000)
Originally committed as revision 9794 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/matroska.c

index d3fe371..7999bd3 100644 (file)
@@ -41,8 +41,8 @@ CodecTags ff_mkv_codec_tags[]={
 
 //    {"A_MS/ACM"         , CODEC_ID_NONE},
     {"A_MPEG/L3"        , CODEC_ID_MP3},
-    {"A_MPEG/L2"        , CODEC_ID_MP3},
-    {"A_MPEG/L1"        , CODEC_ID_MP3},
+    {"A_MPEG/L2"        , CODEC_ID_MP2},
+    {"A_MPEG/L1"        , CODEC_ID_MP2},
     {"A_PCM/INT/BIG"    , CODEC_ID_PCM_U16BE},
     {"A_PCM/INT/LIT"    , CODEC_ID_PCM_U16LE},
 //    {"A_PCM/FLOAT/IEEE" , CODEC_ID_NONE},