33//! ISO/IEC 14496-15 - 5.4
44
55use isobmff:: boxes:: { MPEG4ExtensionDescriptorsBox , VisualSampleEntry } ;
6- use isobmff:: { BoxHeader , IsoBox , UnknownBox } ;
6+ use isobmff:: { IsoBox , UnknownBox } ;
77
88use crate :: AVCDecoderConfigurationRecord ;
99
@@ -13,9 +13,6 @@ use crate::AVCDecoderConfigurationRecord;
1313#[ derive( IsoBox , Debug ) ]
1414#[ iso_box( box_type = b"avcC" ) ]
1515pub struct AVCConfigurationBox < ' a > {
16- /// Header of the box.
17- #[ iso_box( header) ]
18- pub header : BoxHeader ,
1916 /// The AVC decoder configuration record.
2017 pub avc_config : AVCDecoderConfigurationRecord < ' a > ,
2118}
@@ -28,9 +25,6 @@ pub struct AVCConfigurationBox<'a> {
2825#[ derive( IsoBox , Debug ) ]
2926#[ iso_box( box_type = b"avc1" ) ]
3027pub struct AVCSampleEntry1 < ' a > {
31- /// Header of the box.
32- #[ iso_box( header) ]
33- pub header : BoxHeader ,
3428 /// The visual sample entry fields that this box inherits.
3529 pub visual_sample_entry : VisualSampleEntry ,
3630 /// The AVC configuration box contained in this box.
@@ -50,9 +44,6 @@ pub struct AVCSampleEntry1<'a> {
5044#[ derive( IsoBox , Debug ) ]
5145#[ iso_box( box_type = b"avc2" ) ]
5246pub struct AVCSampleEntry2 < ' a > {
53- /// Header of the box.
54- #[ iso_box( header) ]
55- pub header : BoxHeader ,
5647 /// The visual sample entry fields that this box inherits.
5748 pub visual_sample_entry : VisualSampleEntry ,
5849 /// The AVC configuration box contained in this box.
@@ -72,9 +63,6 @@ pub struct AVCSampleEntry2<'a> {
7263#[ derive( IsoBox , Debug ) ]
7364#[ iso_box( box_type = b"avc3" ) ]
7465pub struct AVCSampleEntry3 < ' a > {
75- /// Header of the box.
76- #[ iso_box( header) ]
77- pub header : BoxHeader ,
7866 /// The visual sample entry fields that this box inherits.
7967 pub visual_sample_entry : VisualSampleEntry ,
8068 /// The AVC configuration box contained in this box.
@@ -94,9 +82,6 @@ pub struct AVCSampleEntry3<'a> {
9482#[ derive( IsoBox , Debug ) ]
9583#[ iso_box( box_type = b"avc4" ) ]
9684pub struct AVCSampleEntry4 < ' a > {
97- /// Header of the box.
98- #[ iso_box( header) ]
99- pub header : BoxHeader ,
10085 /// The visual sample entry fields that this box inherits.
10186 pub visual_sample_entry : VisualSampleEntry ,
10287 /// The AVC configuration box contained in this box.
@@ -116,9 +101,6 @@ pub struct AVCSampleEntry4<'a> {
116101#[ derive( IsoBox , Debug ) ]
117102#[ iso_box( box_type = b"avcp" ) ]
118103pub struct AVCParameterSampleEntry < ' a > {
119- /// Header of the box.
120- #[ iso_box( header) ]
121- pub header : BoxHeader ,
122104 /// The visual sample entry fields that this box inherits.
123105 pub visual_sample_entry : VisualSampleEntry ,
124106 /// The AVC configuration box contained in this box.
0 commit comments