aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2019-03-25 01:08:30 -0300
committerJames Almer <jamrial@gmail.com>2019-04-02 18:04:53 -0300
commitec82b3ecbbff1320be2b13f4a5ec41047810d315 (patch)
tree895dee833983bc24f1ecd81fe0b713c159583686
parent4154f8967820ca734a77ce91bb590cd77649dee8 (diff)
downloadffmpeg-ec82b3ecbbff1320be2b13f4a5ec41047810d315.tar.gz
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 461303f94ab64e0cbd502cddb6e79473f8f525a1)
-rw-r--r--libavcodec/cbs_av1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cbs_av1.c b/libavcodec/cbs_av1.c
index 4513287ef9..e4e3964118 100644
--- a/libavcodec/cbs_av1.c
+++ b/libavcodec/cbs_av1.c
@@ -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 &&