avcodec/cbs_av1: add a function to strip trailing zeroes from a buffer size
authorJames Almer <jamrial@gmail.com>
Sat, 13 Apr 2019 19:10:19 +0000 (16:10 -0300)
committerJames Almer <jamrial@gmail.com>
Sun, 14 Apr 2019 17:51:51 +0000 (14:51 -0300)
commit62074b8f85e083212abdf09c849e148e7634f5a2
tree928a18f238ee1ef633e33f8f17526ffbde220891
parentb18c8688dd4f097776572d4f78f12f19881c8057
avcodec/cbs_av1: add a function to strip trailing zeroes from a buffer size

Factor it out from cbs_av1_read_metadata_itut_t35()

Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/cbs_av1.c
libavcodec/cbs_av1_syntax_template.c