mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
codecs: av1parser: Fix a typo in seq_level_idx check.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2157>
This commit is contained in:
parent
5ec1d85494
commit
7f6cd7ac3c
1 changed files with 1 additions and 1 deletions
|
@ -1235,7 +1235,7 @@ gst_av1_parser_parse_sequence_header_obu (GstAV1Parser * parser,
|
||||||
seq_header->operating_points[i].idc = AV1_READ_BITS (br, 12);
|
seq_header->operating_points[i].idc = AV1_READ_BITS (br, 12);
|
||||||
seq_header->operating_points[i].seq_level_idx = AV1_READ_BITS (br, 5);
|
seq_header->operating_points[i].seq_level_idx = AV1_READ_BITS (br, 5);
|
||||||
if (!av1_seq_level_idx_is_valid
|
if (!av1_seq_level_idx_is_valid
|
||||||
(seq_header->operating_points[0].seq_level_idx)) {
|
(seq_header->operating_points[i].seq_level_idx)) {
|
||||||
GST_INFO ("The seq_level_idx is unsupported");
|
GST_INFO ("The seq_level_idx is unsupported");
|
||||||
retval = GST_AV1_PARSER_BITSTREAM_ERROR;
|
retval = GST_AV1_PARSER_BITSTREAM_ERROR;
|
||||||
goto error;
|
goto error;
|
||||||
|
|
Loading…
Reference in a new issue