File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ pub enum Rav1dError {
19
19
/// which is more optimal since `0` is no error for [`Dav1dResult`].
20
20
Other = 1 ,
21
21
22
- /// No sequence header .
22
+ /// No entity .
23
23
///
24
24
/// No Sequence Header OBUs were found in the buffer.
25
- NoSequenceHeader = libc:: ENOENT as u8 ,
25
+ NoEntity = libc:: ENOENT as u8 ,
26
26
27
27
/// Try again.
28
28
///
@@ -63,7 +63,7 @@ impl Rav1dError {
63
63
Rav1dError :: OutOfMemory => "Not enough memory available" ,
64
64
Rav1dError :: UnsupportedBitstream => "Unsupported bitstream" ,
65
65
Rav1dError :: Other => "Other error" ,
66
- Rav1dError :: NoSequenceHeader => "No sequence header found" ,
66
+ Rav1dError :: NoEntity => "No sequence header found" ,
67
67
Rav1dError :: OutOfRange => "Out of range" ,
68
68
}
69
69
}
Original file line number Diff line number Diff line change @@ -518,7 +518,7 @@ fn parse_seq_hdr(
518
518
pub ( crate ) fn rav1d_parse_sequence_header (
519
519
mut data : & [ u8 ] ,
520
520
) -> Rav1dResult < DRav1d < Rav1dSequenceHeader , Dav1dSequenceHeader > > {
521
- let mut res = Err ( Rav1dError :: NoSequenceHeader ) ;
521
+ let mut res = Err ( Rav1dError :: NoEntity ) ;
522
522
523
523
while !data. is_empty ( ) {
524
524
let gb = & mut GetBits :: new ( data) ;
You can’t perform that action at this time.
0 commit comments