aboutsummaryrefslogtreecommitdiff
path: root/libavformat/rawdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/rawdec.c')
-rw-r--r--libavformat/rawdec.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c
index c02ad90aee..4fc48ed586 100644
--- a/libavformat/rawdec.c
+++ b/libavformat/rawdec.c
@@ -199,6 +199,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