Browse Source

avcodec/cbs_av1: fix parsing spatial_id

Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 461303f94a)
tags/n4.1.4
James Almer 6 years ago
parent
commit
ec82b3ecbb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/cbs_av1.c

+ 1
- 1
libavcodec/cbs_av1.c View File

@@ -960,7 +960,7 @@ static int cbs_av1_read_unit(CodedBitstreamContext *ctx,

if (obu->header.obu_extension_flag) {
priv->temporal_id = obu->header.temporal_id;
priv->spatial_id = obu->header.temporal_id;
priv->spatial_id = obu->header.spatial_id;

if (obu->header.obu_type != AV1_OBU_SEQUENCE_HEADER &&
obu->header.obu_type != AV1_OBU_TEMPORAL_DELIMITER &&


Loading…
Cancel
Save