diff options
author | Andriy Gelman <andriy.gelman@gmail.com> | 2019-12-06 11:03:02 -0500 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-12-11 22:18:48 -0300 |
commit | 0493699813ccff57f9ac317afdc1c8be97cc64f5 (patch) | |
tree | 8f29aca8183e45f4f8301ada7fdc94d626ae0d9e /tests/ref/fate/vp9-02-size-18x64 | |
parent | 2722fc2bcfae03feea131737f7da451358a05a7b (diff) | |
download | ffmpeg-0493699813ccff57f9ac317afdc1c8be97cc64f5.tar.gz |
lavc/cbs_h2645: Fix incorrect max size of nalu unit
In the worst case the startcode prefix has 4 bytes.
This fixes a trigerred assertion:
Assertion dp <= max_size failed at libavcodec/cbs_h2645.c:1451
Found-by:libFuzzer
Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
(cherry picked from commit 02a83e26de6a58523ee55cfebc1312e7a4e42724)
Diffstat (limited to 'tests/ref/fate/vp9-02-size-18x64')
0 files changed, 0 insertions, 0 deletions