[vlc-devel] [PATCH 2/2] mp4: fix flawed logic (close #7058)
Ludovic Fauvet
etix at videolan.org
Fri Aug 31 03:48:18 CEST 2012
---
modules/demux/mp4/mp4.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index 10932ba..df99e72 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -1953,8 +1953,10 @@ static int TrackCreateES( demux_t *p_demux, mp4_track_t *p_track,
case VLC_CODEC_AMR_NB:
p_track->fmt.audio.i_rate = 8000;
+ break;
case VLC_CODEC_AMR_WB:
p_track->fmt.audio.i_rate = 16000;
+ break;
case VLC_FOURCC( 'Q', 'D', 'M', 'C' ):
case VLC_CODEC_QDM2:
case VLC_CODEC_ALAC:
--
1.7.12
More information about the vlc-devel
mailing list