aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-05-12 21:45:42 +0200
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-05-14 19:14:10 +0200
commit9bcaf9037813be8ffb42acc2e003cac1419c01b8 (patch)
tree1342dca1bc365342681aff7a4cd65364b71e31a7 /libavformat/utils.c
parentd9249b55828534dd4672670f996fd0e327080af8 (diff)
downloadffmpeg-9bcaf9037813be8ffb42acc2e003cac1419c01b8.tar.gz
imgutils: initialize palette padding bytes in av_image_alloc
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> (cherry picked from commit 51f64552853e16d72644308db53abee870aecfb9) Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavformat/utils.c')
0 files changed, 0 insertions, 0 deletions