diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-05-26 14:24:39 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-05-31 13:05:13 +0200 |
commit | 5c720657c23afd798ae0db7c7362eb859a89ab3d (patch) | |
tree | 64b9f2ad5f51232fc3755db8c15c37e192bed9a6 /libavcodec | |
parent | bff0349d9da527084e1433167466d8afc9e25c7f (diff) | |
download | ffmpeg-5c720657c23afd798ae0db7c7362eb859a89ab3d.tar.gz |
mov: always check avio_read return value
If avio_read fails, the buffer can contain uninitialized data.
This fixes 'Conditional jump or move depends on uninitialised value(s)'
valgrind warnings, and addresses a few memleaks.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec')
0 files changed, 0 insertions, 0 deletions