aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mvi.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-06 01:45:14 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-08 18:54:20 +0100
commitb8fe417c1937436ec978dbc20e747f0e30453b81 (patch)
tree329ca074e432860d06d3bc7ade3e7123c244d0cb /libavformat/mvi.c
parentfa4532a1f767c092656836de62797d71ff42cde0 (diff)
downloadffmpeg-b8fe417c1937436ec978dbc20e747f0e30453b81.tar.gz
avformat/framecrcenc: Don't read after the end of side-data
Nothing guarantees that the size of side data containing a palette is actually divisible by four (although it should be); but for big-endian systems, an algorithm is used that presupposed this. So switch to an algorithm that does not overread: It processes four bytes at a time, but only if all of them are contained in the side data. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/mvi.c')
0 files changed, 0 insertions, 0 deletions