File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -146,8 +146,8 @@ box_database!(
146
146
AVCConfigurationBox 0x6176_6343 , // "avcC"
147
147
H263SampleEntry 0x7332_3633 , // "s263"
148
148
H263SpecificBox 0x6432_3633 , // "d263"
149
- HEVCSampleEntry 0x6865_7631 , // "hev1"
150
- HEVCSampleEntry2 0x6876_6331 , // "hvc1"
149
+ HEV1SampleEntry 0x6865_7631 , // "hev1"
150
+ HVC1SampleEntry 0x6876_6331 , // "hvc1"
151
151
HEVCConfigurationBox 0x6876_6343 , // "hvcC"
152
152
MP4AudioSampleEntry 0x6d70_3461 , // "mp4a"
153
153
MP4VideoSampleEntry 0x6d70_3476 , // "mp4v"
Original file line number Diff line number Diff line change @@ -5592,8 +5592,7 @@ fn read_video_sample_entry<T: Read>(src: &mut BMFFBox<T>) -> Result<SampleEntry>
5592
5592
BoxType :: AV1SampleEntry => CodecType :: AV1 ,
5593
5593
BoxType :: ProtectedVisualSampleEntry => CodecType :: EncryptedVideo ,
5594
5594
BoxType :: H263SampleEntry => CodecType :: H263 ,
5595
- BoxType :: HEVCSampleEntry => CodecType :: HEVC ,
5596
- BoxType :: HEVCSampleEntry2 => CodecType :: HEVC ,
5595
+ BoxType :: HEV1SampleEntry | BoxType :: HVC1SampleEntry => CodecType :: HEVC ,
5597
5596
_ => {
5598
5597
debug ! ( "Unsupported video codec, box {:?} found" , name) ;
5599
5598
CodecType :: Unknown
@@ -5706,7 +5705,7 @@ fn read_video_sample_entry<T: Read>(src: &mut BMFFBox<T>) -> Result<SampleEntry>
5706
5705
protection_info. push ( sinf) ?;
5707
5706
}
5708
5707
BoxType :: HEVCConfigurationBox => {
5709
- if name != BoxType :: HEVCSampleEntry && name != BoxType :: HEVCSampleEntry2 {
5708
+ if name != BoxType :: HEV1SampleEntry && name != BoxType :: HVC1SampleEntry {
5710
5709
return Status :: StsdBadVideoSampleEntry . into ( ) ;
5711
5710
}
5712
5711
let hvcc = read_hvcc ( & mut b) ?;
You can’t perform that action at this time.
0 commit comments