aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/j2k.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-01-15 16:58:21 +0100
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-01-15 20:37:54 +0100
commitea3abcd58f83673bf2fe28170339f19ddf683442 (patch)
tree350cd125b82af645c6bf4567dc3dc1c62084f02e /libavcodec/j2k.c
parent719a576f04f49116fe68a830dfee3ca651db1de8 (diff)
downloadffmpeg-ea3abcd58f83673bf2fe28170339f19ddf683442.tar.gz
Fix ff_get_guid for short reads or errors.
Current code would just return uninitialized data with no way to detect this condition. Instead, fill the whole GUID with 0 in that case. Fixes valgrind uninitialized data errors in fate-seek-lavf_asf. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec/j2k.c')
0 files changed, 0 insertions, 0 deletions