[vlc-commits] demux: mkv: handle WAVE_FORMAT_MPEG_ADTS_AAC
Francois Cartegnie
git at videolan.org
Thu Jul 6 17:09:44 CEST 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jul 6 17:04:04 2017 +0200| [fde23a9e5df21ad56c8a4fe524541ed823533688] | committer: Francois Cartegnie
demux: mkv: handle WAVE_FORMAT_MPEG_ADTS_AAC
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fde23a9e5df21ad56c8a4fe524541ed823533688
---
modules/demux/mkv/matroska_segment_parse.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/demux/mkv/matroska_segment_parse.cpp b/modules/demux/mkv/matroska_segment_parse.cpp
index 1b1ff6ba53..df44363bf5 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -1547,6 +1547,10 @@ int32_t matroska_segment_c::TrackInit( mkv_track_t * p_tk )
{
p_tk->fmt.i_original_fourcc = VLC_FOURCC('L','A','T','M');
}
+ else if( p_wf->wFormatTag == WAVE_FORMAT_AAC_ADTS )
+ {
+ p_tk->fmt.i_original_fourcc = VLC_FOURCC('A','D','T','S');
+ }
}
if( p_tk->fmt.i_codec == VLC_FOURCC( 'u', 'n', 'd', 'f' ) )
More information about the vlc-commits
mailing list