aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegvideo.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-05-26 14:24:39 +0100
committerLuca Barbato <lu_zero@gentoo.org>2015-05-31 13:05:13 +0200
commit5c720657c23afd798ae0db7c7362eb859a89ab3d (patch)
tree64b9f2ad5f51232fc3755db8c15c37e192bed9a6 /libavcodec/mpegvideo.c
parentbff0349d9da527084e1433167466d8afc9e25c7f (diff)
downloadffmpeg-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/mpegvideo.c')
0 files changed, 0 insertions, 0 deletions