Commit a3456b28 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: mp4: handle QCELP stsd v0 spec violation for (fix #12720)

parent 901cfac0
...@@ -721,6 +721,14 @@ int SetupAudioES( demux_t *p_demux, mp4_track_t *p_track, MP4_Box_t *p_sample ) ...@@ -721,6 +721,14 @@ int SetupAudioES( demux_t *p_demux, mp4_track_t *p_track, MP4_Box_t *p_sample )
break; break;
} }
/* Late fixes */
if ( p_soun->i_qt_version == 0 && p_track->fmt.i_codec == VLC_CODEC_QCELP )
{
/* Shouldn't be v0, as it is a compressed codec !*/
p_soun->i_qt_version = 1;
p_soun->i_compressionid = 0xFFFE;
}
return 1; return 1;
} }
......
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