[FFmpeg-devel] [PATCH]Allow applications to demux latm with lavf

Carl Eugen Hoyos cehoyos
Wed May 26 21:46:59 CEST 2010


Hi!

Attached patch allows MPlayer to play LATM samples with -demuxer lavf.
It does not change ffmpeg's output, afaics.

Please comment, Carl Eugen
-------------- next part --------------
Index: libavformat/mpegts.c
===================================================================
--- libavformat/mpegts.c	(revision 23336)
+++ libavformat/mpegts.c	(working copy)
@@ -497,7 +497,7 @@
     { 0x04, AVMEDIA_TYPE_AUDIO,        CODEC_ID_MP3 },
     { 0x0f, AVMEDIA_TYPE_AUDIO,        CODEC_ID_AAC },
     { 0x10, AVMEDIA_TYPE_VIDEO,      CODEC_ID_MPEG4 },
-  //{ 0x11, AVMEDIA_TYPE_AUDIO,        CODEC_ID_AAC }, /* LATM syntax */
+    { 0x11, AVMEDIA_TYPE_AUDIO,        CODEC_ID_AAC }, /* LATM syntax */
     { 0x1b, AVMEDIA_TYPE_VIDEO,       CODEC_ID_H264 },
     { 0xd1, AVMEDIA_TYPE_VIDEO,      CODEC_ID_DIRAC },
     { 0xea, AVMEDIA_TYPE_VIDEO,        CODEC_ID_VC1 },



More information about the ffmpeg-devel mailing list