zerocodec: check if the previous frame is missing
authorPaul B Mahol <onemda@gmail.com>
Fri, 4 May 2012 16:32:43 +0000 (12:32 -0400)
committerLuca Barbato <lu_zero@gentoo.org>
Sun, 6 May 2012 22:47:10 +0000 (15:47 -0700)
commit37f4a976b374398a846b354cf16417b9a81d57e2
treeb617c69f3c209c8dbdd68e3308a02f7e315601f5
parente004bc16a1304822226b5b1ceebdb899d72ee538
zerocodec: check if the previous frame is missing

ZeroCodec relies on the keyframe flag being set in the container, and
prev is the previously decoded frame. A keyframe flags incorrectly set
will lead to this condition.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/zerocodec.c