]> git.sesse.net Git - ffmpeg/commit
Reset internal state on corrupted blocks in wavpack decoder.
authorLaurent Aimar <fenrir@videolan.org>
Mon, 26 Sep 2011 21:37:30 +0000 (23:37 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 26 Sep 2011 23:07:58 +0000 (01:07 +0200)
commitc2a016ad4d9c29285813ba5806189e63e063e0fb
treece4ca525896d680a1bccc41dc66fe8157d607eee
parentfc64434030a8e214fed4179733e49026e7550da5
Reset internal state on corrupted blocks in wavpack decoder.

wavpack_decode_block() supposes that it is called back with the exact
same buffer unless it has returned with an error. With multi-channels
files, wavpack_decode_frame() was breaking this assumption.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/wavpack.c