mirror of https://github.com/FFmpeg/FFmpeg.git
av_image_fill_pointers always aligns the palette, but the padding bytes don't (and can't) get initialized in av_image_copy. Thus initialize them in av_image_alloc. This fixes 'Syscall param write(buf) points to uninitialised byte(s)' valgrind warnings. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>pull/135/merge
parent
a7c0c79333
commit
51f6455285
1 changed files with 8 additions and 0 deletions
Loading…
Reference in new issue