avcodec/pcm-dvd: reset last header on errors
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 27 Dec 2013 02:00:13 +0000 (03:00 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 27 Dec 2013 02:00:52 +0000 (03:00 +0100)
commitf55bc96a5449179ee9b0aab6f0a4581ba1df6b62
tree8106e2b1f008bfc39455259439e87ba72eaa0417
parent42b6805cc1989f759f19e9d253527311741cbd3a
avcodec/pcm-dvd: reset last header on errors

Fixes: msan_uninit-mem_7f4fff975a2c_4957_dvd_audio_sample.aob
Fixes use of uninitialized memory
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/pcm-dvd.c