[FFmpeg-cvslog] avcodec/cbs_av1: fix parsing spatial_id
James Almer
git at videolan.org
Tue Apr 2 22:34:33 EEST 2019
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Mon Mar 25 01:08:30 2019 -0300| [461303f94ab64e0cbd502cddb6e79473f8f525a1] | committer: James Almer
avcodec/cbs_av1: fix parsing spatial_id
Reviewed-by: Mark Thompson <sw at jkqxz.net>
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=461303f94ab64e0cbd502cddb6e79473f8f525a1
---
libavcodec/cbs_av1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/cbs_av1.c b/libavcodec/cbs_av1.c
index 02f168b58d..f02cca2dad 100644
--- a/libavcodec/cbs_av1.c
+++ b/libavcodec/cbs_av1.c
@@ -956,7 +956,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 &&
More information about the ffmpeg-cvslog
mailing list