[vlc-commits] commit: MP4/MOV Demuxer : set audio track samplesize correctly for [au] law and variants. (Jai Menon )
git at videolan.org
git at videolan.org
Thu May 20 18:22:24 CEST 2010
vlc | branch: master | Jai Menon <jmenon86 at gmail.com> | Thu May 20 22:00:06 2010 +0530| [f8047838593c111608a9edcb8a2e5ec566cee15e] | committer: Jean-Baptiste Kempf
MP4/MOV Demuxer : set audio track samplesize correctly for [au]law and variants.
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f8047838593c111608a9edcb8a2e5ec566cee15e
---
modules/demux/mp4/mp4.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index 52af601..24e09ef 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -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', ' ' ):
More information about the vlc-commits
mailing list