aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mqc.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-26 22:37:04 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-27 10:27:42 +0100
commit1bb7d5ca9fc6dc1b961014255ada03dee40bac31 (patch)
tree3736121baf635d09deec8b002b7fd81290c47601 /libavcodec/mqc.h
parent9d7d03ea4598484e2d200976d0064df41186a630 (diff)
downloadffmpeg-1bb7d5ca9fc6dc1b961014255ada03dee40bac31.tar.gz
avformat/mov: Don't use entry[-1] in pointer arithmetic
It is undefined behaviour. Fixes many failed tests with UBSan and GCC 13 like "src/libavformat/mov.c:4229:44: runtime error: store to address 0x5572abe20f80 with insufficient space for an object of type 'struct MOVIndexRange'" (The line number does not refer to the line where &entry[-1] is assigned.) Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/mqc.h')
0 files changed, 0 insertions, 0 deletions