Autodetect LOAS in transport streams.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Fri, 19 Aug 2011 22:27:54 +0000 (00:27 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Fri, 19 Aug 2011 22:27:54 +0000 (00:27 +0200)
Fixes ticket 365.

libavformat/utils.c

index 022efc4..ab36a15 100644 (file)
@@ -369,6 +369,7 @@ static int set_codec_from_probe_data(AVFormatContext *s, AVStream *st, AVProbeDa
         { "dts"      , CODEC_ID_DTS       , AVMEDIA_TYPE_AUDIO },
         { "eac3"     , CODEC_ID_EAC3      , AVMEDIA_TYPE_AUDIO },
         { "h264"     , CODEC_ID_H264      , AVMEDIA_TYPE_VIDEO },
+        { "loas"     , CODEC_ID_AAC_LATM  , AVMEDIA_TYPE_AUDIO },
         { "m4v"      , CODEC_ID_MPEG4     , AVMEDIA_TYPE_VIDEO },
         { "mp3"      , CODEC_ID_MP3       , AVMEDIA_TYPE_AUDIO },
         { "mpegvideo", CODEC_ID_MPEG2VIDEO, AVMEDIA_TYPE_VIDEO },