diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-07-11 20:52:48 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-15 21:29:59 +0200 |
commit | 4cd1d3e3b7e7412818553ae84e04ae3e077b680f (patch) | |
tree | 99084eddb7ee973227241a8698408ef25e25ccb8 /libavutil/hwcontext_mediacodec.h | |
parent | 487fc61cb22f7ed07626577044eda7bd2deb2366 (diff) | |
download | ffmpeg-4cd1d3e3b7e7412818553ae84e04ae3e077b680f.tar.gz |
avcodec/iff: Use unsigned to avoid compiler warning
GCC 12 apparently believes that negative palette sizes are
possible (they are not, as this has already been checked during
init) and therefore emits a -Wstringop-overflow= for the memcpy.
Using unsigned avoids this.
(To be honest, there might be a compiler bug involved.)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/hwcontext_mediacodec.h')
0 files changed, 0 insertions, 0 deletions