avcodec/h264: fix code that blindly dereferences NULL DPB
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 10 Dec 2013 22:41:50 +0000 (23:41 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 10 Dec 2013 22:50:08 +0000 (23:50 +0100)
commitd9339ab55373b12f078a3e3f1e294d8ff78652dd
tree4fac84f6bd5fa85305001b6c9358d368f51226f6
parente23b18321fb5cffb6e05d0b0ef00de9733f560da
avcodec/h264: fix code that blindly dereferences NULL DPB

Fixes mixed flushing and decoding NULL packets
Found-by: wm4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264.c