diff options
author | Vitaly Buka <vitalybuka@google.com> | 2025-01-16 15:49:19 -0800 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2025-01-30 11:35:10 -0300 |
commit | c5287178b4dc373e763f7cd49703a6e3192aab3a (patch) | |
tree | f594d79c69b63ab7f62136b4ec5efc2d82e0860d /libavcodec/tests/rangecoder.c | |
parent | 02958ab7156b4e14f1918f2b72c6d3678852698f (diff) | |
download | ffmpeg-c5287178b4dc373e763f7cd49703a6e3192aab3a.tar.gz |
avcodec/hevc/hevcdec: Don't add to null pointer
`POS(1,` and `POS(2,` may trigger UBSAN report:
"runtime error: applying non-zero offset 304 to null pointer"
Looks like values are not used without `chroma_format_idc`,
so maybe there is no other issues than the UB.
Can't reproduce with "fate".
Signed-off-by: Vitaly Buka <vitalybuka@google.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/tests/rangecoder.c')
0 files changed, 0 insertions, 0 deletions