Commit 26ea53d4 authored by Jean-Baptiste Kempf's avatar 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: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent f13206ef
...@@ -294,6 +294,7 @@ static const struct ...@@ -294,6 +294,7 @@ static const struct
{ VLC_CODEC_DTS, CODEC_ID_DTS, AUDIO_ES }, { VLC_CODEC_DTS, CODEC_ID_DTS, AUDIO_ES },
{ VLC_CODEC_MPGA, CODEC_ID_MP3, 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 }, { VLC_CODEC_MP4A, CODEC_ID_AAC, AUDIO_ES },
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 26, 0 ) #if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 26, 0 )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment