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 20:57:10 +0000 (17:57 -0300)
commit064f9505f49816650516c7afe93e43d8f547891a
treeca34074ec9c7699d35e40ace09d72512986cf9ad
parent1b4c01631b1a2019e392eaf011f1e3f15a97fb77
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>
libavcodec/cbs_av1.h
libavcodec/cbs_av1_syntax_template.c