]> git.sesse.net Git - ffmpeg/commit
cbs_h265: Ensure that a predicted RPS doesn't contain too many pictures
authorMark Thompson <sw@jkqxz.net>
Sun, 3 May 2020 15:30:00 +0000 (16:30 +0100)
committerMark Thompson <sw@jkqxz.net>
Wed, 20 May 2020 21:07:01 +0000 (22:07 +0100)
commitc53f9f436440be4e180aa3895920ef21019c076f
tree998274fba63396b21c904fdc782b0f45ec8bb88c
parent9f891d0b4b584bc061808bfab35ffe9810d3bc77
cbs_h265: Ensure that a predicted RPS doesn't contain too many pictures

If the RPS we are predicting from has maximum size then at least one of
the pictures in it must be discarded before adding the current one.

Also revert 588114cea4ee434c9c61353ed91ffc817d2965f5, which added
now-redundant checks for the special case of a too-large RPS with all
pictures being in the same direction from the current one.
libavcodec/cbs_h265_syntax_template.c