]> git.sesse.net Git - ffmpeg/commit
avcodec/cbs_av1: fix parsing frame_size_with_refs
authorJames Almer <jamrial@gmail.com>
Sat, 27 Oct 2018 00:32:36 +0000 (21:32 -0300)
committerJames Almer <jamrial@gmail.com>
Sat, 27 Oct 2018 19:06:36 +0000 (16:06 -0300)
commit99ef8b8afd993fec3160c633f5fe87cceb7fe392
tree95a2789f5aef3ff8d9b6d6eabfada05eff08f463
parentfef2162b6ea752c76a1220f59ad962b65a400fc3
avcodec/cbs_av1: fix parsing frame_size_with_refs

found_ref is not a single value in the bitstream. Fixes parsing files with
frame size changes.

Based on code from cbs_vp9.

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