[vlc-commits] vlc_codecs: add Waveformatex ADTS

Francois Cartegnie git at videolan.org
Thu Jul 6 17:09:40 CEST 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jul  6 17:03:42 2017 +0200| [168236e0e46130521f83455754200f103f027dae] | committer: Francois Cartegnie

vlc_codecs: add Waveformatex ADTS

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=168236e0e46130521f83455754200f103f027dae
---

 include/vlc_codecs.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/vlc_codecs.h b/include/vlc_codecs.h
index df7694cc47..ffb0791133 100644
--- a/include/vlc_codecs.h
+++ b/include/vlc_codecs.h
@@ -234,6 +234,7 @@ ATTR_PACKED
 #define WAVE_FORMAT_ON2_AVC             0x0500 /* VP7 */
 #define WAVE_FORMAT_ON2_AVC_2           0x0501 /* VP6 */
 
+#define WAVE_FORMAT_AAC_ADTS            0x1600 /* AAC/ADTS */
 #define WAVE_FORMAT_AAC_2               0x1601 /* Other AAC */
 #define WAVE_FORMAT_AAC_LATM            0x1602 /* AAC/LATM */
 
@@ -353,9 +354,10 @@ wave_format_tag_to_fourcc[] =
     { WAVE_FORMAT_DTS_MS,           VLC_CODEC_DTS,                    "DTS Coherent Acoustics" },
     { WAVE_FORMAT_DIVIO_AAC,        VLC_CODEC_MP4A,                   "MPEG-4 Audio (Divio)" },
     { WAVE_FORMAT_AAC,              VLC_CODEC_MP4A,                   "MPEG-4 Audio" },
+    { WAVE_FORMAT_AAC_ADTS,         VLC_CODEC_MP4A,                   "MPEG-4 ADTS Audio" },
     { WAVE_FORMAT_AAC_2,            VLC_CODEC_MP4A,                   "MPEG-4 Audio" },
     { WAVE_FORMAT_AAC_3,            VLC_CODEC_MP4A,                   "MPEG-4 Audio" },
-    { WAVE_FORMAT_AAC_LATM,         VLC_CODEC_MP4A,                   "MPEG-4 Audio" },
+    { WAVE_FORMAT_AAC_LATM,         VLC_CODEC_MP4A,                   "MPEG-4 LATM Audio" },
     { WAVE_FORMAT_AVCODEC_AAC,      VLC_CODEC_MP4A,                   "MPEG-4 Audio" },
     { WAVE_FORMAT_AAC_MS,           VLC_CODEC_MP4A,                   "MPEG-4 Audio" },
     { WAVE_FORMAT_VORBIS,           VLC_CODEC_VORBIS,                 "Vorbis Audio" },



More information about the vlc-commits mailing list