Commit f8047838 authored by Jai Menon's avatar Jai Menon Committed by Jean-Baptiste Kempf

MP4/MOV Demuxer : set audio track samplesize correctly for [au]law and variants.

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 8115853d
......@@ -1535,6 +1535,7 @@ static int TrackCreateES( demux_t *p_demux, mp4_track_t *p_track,
case VLC_FOURCC( 'a', 'l', 'a', 'w' ):
case VLC_FOURCC( 'u', 'l', 'a', 'w' ):
p_soun->i_samplesize = 8;
p_track->i_sample_size = p_soun->i_channelcount;
break;
case VLC_FOURCC( 'N', 'O', 'N', 'E' ):
case VLC_FOURCC( 'r', 'a', 'w', ' ' ):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment