OSDN Git Service

idcinvideo: if decoding fails return error
authorPaul B Mahol <onemda@gmail.com>
Wed, 17 Oct 2012 14:04:12 +0000 (14:04 +0000)
committerPaul B Mahol <onemda@gmail.com>
Fri, 19 Oct 2012 00:08:01 +0000 (00:08 +0000)
commit527224830aad6aaf5fc5ed9ff6c5f12c80ff906c
treed885809dab525baf831bfbe5a947b0b54de969b0
parentaadb7b3ac4fb07d003329cd5bcc4c6ab5b468510
idcinvideo: if decoding fails return error

Previously if frame decoding failed it would be
silently reported as valid frame.

The fate ref is updated because sample have
truncated last video packet.

While here return meaningful error codes.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/idcinvideo.c
tests/ref/fate/id-cin-video