Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
46d5cc43
Commit
46d5cc43
authored
Dec 27, 2013
by
Dmitry Kovalev
Browse files
Using VP9_FRAME_MARKER instead of raw number.
Change-Id: I3addbf6d89a86a707c8df1a463da3e9e367910df
parent
7eb09151
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/vp9_dx_iface.c
View file @
46d5cc43
...
...
@@ -160,7 +160,8 @@ static vpx_codec_err_t vp9_peek_si(const uint8_t *data,
struct
vp9_read_bit_buffer
rb
=
{
data
,
data
+
data_sz
,
0
,
NULL
,
NULL
};
const
int
frame_marker
=
vp9_rb_read_literal
(
&
rb
,
2
);
const
int
version
=
vp9_rb_read_bit
(
&
rb
)
|
(
vp9_rb_read_bit
(
&
rb
)
<<
1
);
if
(
frame_marker
!=
0x2
)
return
VPX_CODEC_UNSUP_BITSTREAM
;
if
(
frame_marker
!=
VP9_FRAME_MARKER
)
return
VPX_CODEC_UNSUP_BITSTREAM
;
#if CONFIG_NON420
if
(
version
>
1
)
return
VPX_CODEC_UNSUP_BITSTREAM
;
#else
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment