Commit 25a85e92 authored by Ludovic Fauvet's avatar Ludovic Fauvet Committed by Rémi Denis-Courmont

mp4: fix flawed logic (close #7058)

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 9c9b7a3d
...@@ -1953,8 +1953,10 @@ static int TrackCreateES( demux_t *p_demux, mp4_track_t *p_track, ...@@ -1953,8 +1953,10 @@ static int TrackCreateES( demux_t *p_demux, mp4_track_t *p_track,
case VLC_CODEC_AMR_NB: case VLC_CODEC_AMR_NB:
p_track->fmt.audio.i_rate = 8000; p_track->fmt.audio.i_rate = 8000;
break;
case VLC_CODEC_AMR_WB: case VLC_CODEC_AMR_WB:
p_track->fmt.audio.i_rate = 16000; p_track->fmt.audio.i_rate = 16000;
break;
case VLC_FOURCC( 'Q', 'D', 'M', 'C' ): case VLC_FOURCC( 'Q', 'D', 'M', 'C' ):
case VLC_CODEC_QDM2: case VLC_CODEC_QDM2:
case VLC_CODEC_ALAC: case VLC_CODEC_ALAC:
......
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