h264: check for luma and chroma bit depth being equal
authorLuca Barbato <lu_zero@gentoo.org>
Sun, 10 Mar 2013 01:50:52 +0000 (02:50 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 12 Mar 2013 19:05:39 +0000 (20:05 +0100)
commit9e48d77158dcb104fb35b90593ace0b248bda7e1
tree066a3f41646dbe5e6051c49ec53c2ce089a962e1
parentb9ec4414b5ee4128a58f863fa290ca14bfb39db6
h264: check for luma and chroma bit depth being equal

The decoder assumes a single bit depth for all the planes while
the specification allows different bit depths for luma and chroma.

Avoid the possible problems described in CVE-2013-2277
libavcodec/h264.c