zerocodec: check if there is previous frame
authorPaul B Mahol <onemda@gmail.com>
Fri, 4 May 2012 10:24:39 +0000 (10:24 +0000)
committerPaul B Mahol <onemda@gmail.com>
Fri, 4 May 2012 10:42:11 +0000 (10:42 +0000)
commit4b70bba57ec9d61282e8b2b427d738dd44415652
treeda4ad0982407c69566bad18a76253fa10ca4c80b
parentb7159877b18f6f0262180574cb7163ca6ab664c6
zerocodec: check if there is previous frame

Fixes crash in bug #1219.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/zerocodec.c