[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
Thu May 6 10:38:18 CEST 2010


vlc/vlc-1.1 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed May  5 13:14:13 2010 +0200| [26ea53d4d2d5f9a880c5d9147fa8567ec700a1f4] | 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
(cherry picked from commit 6a30fd81c3248949fb5f8554ba22e52cbc4489c8)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=26ea53d4d2d5f9a880c5d9147fa8567ec700a1f4
---

 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 e55df83..f383a93 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -294,6 +294,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