avcodec/cbs_av1: fix parsing delta_frame_id_minus1
authorJames Almer <jamrial@gmail.com>
Thu, 20 Dec 2018 15:26:43 +0000 (12:26 -0300)
committerJames Almer <jamrial@gmail.com>
Thu, 20 Dec 2018 21:29:42 +0000 (18:29 -0300)
commit5356e610010a25809e6e43146b813056a8929804
tree8ff15b8e3782ea85722de1a5f92a1fec8c933ac2
parenta4ddc3c9fc60e6cf8123966f4ca7a7db70aa58eb
avcodec/cbs_av1: fix parsing delta_frame_id_minus1

delta_frame_id_minus1 is not a single value in the bitstream, and can
store values up to 17 bits wide.

Fixes parsing files with frame ids.

Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 064f9505f49816650516c7afe93e43d8f547891a)
libavcodec/cbs_av1.h
libavcodec/cbs_av1_syntax_template.c