diff options
author | Janne Grunau <janne-libav@jannau.net> | 2011-09-06 22:08:29 +0200 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2011-09-22 20:39:24 +0200 |
commit | dcb9f6a20dbddd1f95b6b322fc4c5fd0b5315729 (patch) | |
tree | 7bb02c8f5a792105bcec6202e547402731dffb9d /libavformat/rawdec.c | |
parent | 59df4b82a5d2d614636076b0bd3e03aba400fc96 (diff) | |
download | ffmpeg-dcb9f6a20dbddd1f95b6b322fc4c5fd0b5315729.tar.gz |
Add LATM demuxer
This is a raw demuxer for the AAC LATM decoder and thus limited to
single stream LOAS.
Diffstat (limited to 'libavformat/rawdec.c')
-rw-r--r-- | libavformat/rawdec.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c index 35df5e2462..9b3ef49fda 100644 --- a/libavformat/rawdec.c +++ b/libavformat/rawdec.c @@ -198,6 +198,18 @@ AVInputFormat ff_gsm_demuxer = { }; #endif +#if CONFIG_LATM_DEMUXER +AVInputFormat ff_latm_demuxer = { + .name = "latm", + .long_name = NULL_IF_CONFIG_SMALL("raw LOAS/LATM"), + .read_header = ff_raw_audio_read_header, + .read_packet = ff_raw_read_partial_packet, + .flags= AVFMT_GENERIC_INDEX, + .extensions = "latm", + .value = CODEC_ID_AAC_LATM, +}; +#endif + #if CONFIG_MJPEG_DEMUXER FF_DEF_RAWVIDEO_DEMUXER(mjpeg, "raw MJPEG video", NULL, "mjpg,mjpeg", CODEC_ID_MJPEG) #endif |