[FFmpeg-cvslog] isom: Add MPEG4SYSTEMS dummy object type indication.
Alex Converse
git at videolan.org
Sat Oct 29 02:31:41 CEST 2011
ffmpeg | branch: master | Alex Converse <alex.converse at gmail.com> | Wed Oct 5 10:59:15 2011 -0700| [77b5c82b49dacfab9966df2d7532ae155478769e] | committer: Alex Converse
isom: Add MPEG4SYSTEMS dummy object type indication.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=77b5c82b49dacfab9966df2d7532ae155478769e
---
libavcodec/avcodec.h | 2 ++
libavformat/isom.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 1c9bd96..649bce4 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -372,6 +372,8 @@ enum CodecID {
CODEC_ID_MPEG2TS= 0x20000, /**< _FAKE_ codec to indicate a raw MPEG-2 TS
* stream (only used by libavformat) */
+ CODEC_ID_MPEG4SYSTEMS = 0x20001, /**< _FAKE_ codec to indicate a MPEG-4 Systems
+ * stream (only used by libavformat) */
CODEC_ID_FFMETADATA=0x21000, ///< Dummy codec for streams containing only metadata information.
};
diff --git a/libavformat/isom.c b/libavformat/isom.c
index c5b01f2..b0eef37 100644
--- a/libavformat/isom.c
+++ b/libavformat/isom.c
@@ -61,6 +61,8 @@ const AVCodecTag ff_mp4_obj_type[] = {
{ CODEC_ID_VORBIS , 0xDD }, /* non standard, gpac uses it */
{ CODEC_ID_DVD_SUBTITLE, 0xE0 }, /* non standard, see unsupported-embedded-subs-2.mp4 */
{ CODEC_ID_QCELP , 0xE1 },
+ { CODEC_ID_MPEG4SYSTEMS, 0x01 },
+ { CODEC_ID_MPEG4SYSTEMS, 0x02 },
{ CODEC_ID_NONE , 0 },
};
More information about the ffmpeg-cvslog
mailing list