mov: always check avio_read return value
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sat, 23 May 2015 21:45:44 +0000 (23:45 +0200)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sun, 24 May 2015 13:08:21 +0000 (15:08 +0200)
commitb71528d8967c1e10f499432fe26ff4713d1fd3b6
tree72cf04d9b7d3941bbdad7a79c45081c9b71de76d
parent8e77f8ab4abc199a5cc9d6c2c206b73fc2921af0
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.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavformat/mov.c