File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -5737,9 +5737,15 @@ fn read_audio_sample_entry<T: Read>(src: &mut BMFFBox<T>) -> Result<SampleEntry>
5737
5737
codec_specific = Some ( AudioCodecSpecific :: ALACSpecificBox ( alac) ) ;
5738
5738
}
5739
5739
BoxType :: QTWaveAtom => {
5740
- let qt_esds = read_qt_wave_atom ( & mut b) ?;
5741
- codec_type = qt_esds. audio_codec ;
5742
- codec_specific = Some ( AudioCodecSpecific :: ES_Descriptor ( qt_esds) ) ;
5740
+ match read_qt_wave_atom ( & mut b) {
5741
+ Ok ( qt_esds) => {
5742
+ codec_type = qt_esds. audio_codec ;
5743
+ codec_specific = Some ( AudioCodecSpecific :: ES_Descriptor ( qt_esds) ) ;
5744
+ } ,
5745
+ Err ( e) => {
5746
+ warn ! ( "Failed to parse wave atom: {e:?}" ) ;
5747
+ }
5748
+ }
5743
5749
}
5744
5750
BoxType :: ProtectionSchemeInfoBox => {
5745
5751
if name != BoxType :: ProtectedAudioSampleEntry {
You can’t perform that action at this time.
0 commit comments