libtwolame: fix stupid bug
authorPaul B Mahol <onemda@gmail.com>
Tue, 7 Aug 2012 22:56:35 +0000 (22:56 +0000)
committerPaul B Mahol <onemda@gmail.com>
Tue, 7 Aug 2012 22:56:35 +0000 (22:56 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/libtwolame.c

index 7cdd72e..4eb6bdb 100644 (file)
@@ -176,7 +176,7 @@ static const AVClass libtwolame_class = {
 AVCodec ff_libtwolame_encoder = {
     .name                  = "libtwolame",
     .type                  = AVMEDIA_TYPE_AUDIO,
-    .id                    = AV_CODEC_ID_MP3,
+    .id                    = AV_CODEC_ID_MP2,
     .priv_data_size        = sizeof(TWOLAMEContext),
     .init                  = twolame_encode_init,
     .encode2               = twolame_encode_frame,