Skip to content

Commit 2f1b4a5

Browse files
committed
Fix formatting
1 parent c537bae commit 2f1b4a5

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

mp4parse/src/lib.rs

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5736,17 +5736,15 @@ fn read_audio_sample_entry<T: Read>(src: &mut BMFFBox<T>) -> Result<SampleEntry>
57365736
codec_type = CodecType::ALAC;
57375737
codec_specific = Some(AudioCodecSpecific::ALACSpecificBox(alac));
57385738
}
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));
57485743
}
5749-
}
5744+
Err(e) => {
5745+
warn!("Failed to parse wave atom: {e:?}");
5746+
}
5747+
},
57505748
BoxType::ProtectionSchemeInfoBox => {
57515749
if name != BoxType::ProtectedAudioSampleEntry {
57525750
return Status::StsdBadAudioSampleEntry.into();

0 commit comments

Comments
 (0)