[vlc-commits] commit: Avcodec/Avformat: fix CODEC_ID_MP2/ MP3 issue when using avformat demuxer (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Wed May 5 13:15:20 CEST 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed May  5 13:14:13 2010 +0200| [6a30fd81c3248949fb5f8554ba22e52cbc4489c8] | committer: Jean-Baptiste Kempf 

Avcodec/Avformat: fix CODEC_ID_MP2/MP3 issue when using avformat demuxer

This could result in undf codec. Pointed out by ver

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6a30fd81c3248949fb5f8554ba22e52cbc4489c8
---

 modules/codec/avcodec/fourcc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/codec/avcodec/fourcc.c b/modules/codec/avcodec/fourcc.c
index ac5f532..7327d83 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -288,6 +288,7 @@ static const struct
     { VLC_CODEC_DTS, CODEC_ID_DTS, AUDIO_ES },
 
     { VLC_CODEC_MPGA, CODEC_ID_MP3, AUDIO_ES },
+    { VLC_CODEC_MPGA, CODEC_ID_MP2, AUDIO_ES },
 
     { VLC_CODEC_MP4A, CODEC_ID_AAC, AUDIO_ES },
 #if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 26, 0 )



More information about the vlc-commits mailing list