avcodec/pcm-dvd: discard buffer if block size changed
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 1 Sep 2013 10:36:51 +0000 (12:36 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 1 Sep 2013 11:00:39 +0000 (13:00 +0200)
commit7c1805869d6f8dd9292977393aa4d97417716852
tree0d668c5a2e382cd660fda39a045cfafff2e75f9f
parent789cd1de99cd272c02b2d960cfa08f9ecfe981d7
avcodec/pcm-dvd: discard buffer if block size changed

This prevents a potential crash

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