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