decoder: h264: fix RefPicList0/1 without frame in DPB.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 18 Jun 2014 11:11:48 +0000 (13:11 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 18 Aug 2014 13:51:57 +0000 (15:51 +0200)
commitf3f49f2f0e6b3669d9b09341a11cf0b96e138674
treef16eab43e896e5bd43408d8de62a4071c3155218
parent82d2ed8d7da3619c0ea467c06604f5626fc0b901
decoder: h264: fix RefPicList0/1 without frame in DPB.

Some bitstreams (e.g. truncated, or non conformant), or bugs in codec
layers, would incorrectly make decoders to fill in the RefPicList0/1
lists with surfaces that have not received any content yet.

There is no reason for the driver to crash in such cases.

https://bugs.freedesktop.org/show_bug.cgi?id=82466

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
src/i965_decoder_utils.c