h264: Add check for invalid chroma_format_idc
authorAlexander Strange <astrange@ithinksw.com>
Sat, 24 Mar 2012 21:32:14 +0000 (17:32 -0400)
committerRonald S. Bultje <rsbultje@gmail.com>
Sat, 24 Mar 2012 22:29:38 +0000 (15:29 -0700)
commit6ef4063957aa5025c8d2cd757b6a537e4b6874df
treed12bcb8db1f30266a072c0b1eb0cd29bb621e78e
parentec0ed97b046d46421db72c4911d2bbe28bbe5741
h264: Add check for invalid chroma_format_idc

Fixes a crash when FF_DEBUG_PICT_INFO is used.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavcodec/h264_ps.c