avformat/rmdec: when reading audio blocks, dont leave holes when reading fails
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 9 Jan 2014 21:59:51 +0000 (22:59 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 9 Jan 2014 22:50:59 +0000 (23:50 +0100)
commit77d2a1ca595ebe082d35c4b624ac9a9145991494
tree8fd4c41f34768ec7028005b29e1490130aabfba1
parentebfa1264aacf74291d20cc5d6c23e0618b5c5144
avformat/rmdec: when reading audio blocks, dont leave holes when reading fails

The fate test is changed because the reference file depends on the use of
non cleared data at the very
end. Alternatively we could upload a new reference file, though that would
then have to be changed every time the handling of a truncated frame changes
or theres a change to error concealment, each time adding a new file ...

Fixes use of uninitialized memory
Fixed: msan_uninit-mem_7f3c02b81363_2787_RLG2_19.rm
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/rmdec.c
tests/fate/real.mak