]> git.sesse.net Git - ffmpeg/commit
avcodec/av1_parse: take trailing bits into account when initializing the GetBitContext
authorJames Almer <jamrial@gmail.com>
Thu, 16 Aug 2018 02:31:04 +0000 (23:31 -0300)
committerJames Almer <jamrial@gmail.com>
Fri, 17 Aug 2018 18:09:01 +0000 (15:09 -0300)
commit96a7099f3ed57aa6dd8de2e727e25a4508743bd8
treebfa0e71b24049989e73b6ac04bfac3ed07993506
parentc85852d3de636d18b41c4e5fdcdbc18bde7f3b1f
avcodec/av1_parse: take trailing bits into account when initializing the GetBitContext

Also only initialize it in ff_av1_packet_split() and not ff_av1_extract_obu(),
same as h2645_parse, so GetBitContext specific failures may not affect the
latter.

Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/av1_parse.c
libavcodec/av1_parse.h