codecparsers: av1: fix a typo in parse_metadata_scalability

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1464>
This commit is contained in:
He Junyan 2020-09-29 13:15:37 +08:00 committed by Víctor Manuel Jáquez Leal
parent 227d7a9327
commit 6dedbc30c5

View file

@ -1600,7 +1600,7 @@ gst_av1_parse_metadata_scalability (GstAV1Parser * parser,
if (scalability->spatial_layer_description_present_flag) { if (scalability->spatial_layer_description_present_flag) {
for (i = 0; i <= scalability->spatial_layers_cnt_minus_1; i++) { for (i = 0; i <= scalability->spatial_layers_cnt_minus_1; i++) {
scalability->spatial_layer_ref_id[i] = AV1_READ_BIT_CHECKED (br, &ret); scalability->spatial_layer_ref_id[i] = AV1_READ_UINT8_CHECKED (br, &ret);
if (ret != GST_AV1_PARSER_OK) if (ret != GST_AV1_PARSER_OK)
goto error; goto error;
} }