h264: check that an IDR NAL only contains I slices
authorAnton Khirnov <anton@khirnov.net>
Thu, 28 Nov 2013 09:54:35 +0000 (10:54 +0100)
committerReinhard Tartler <siretart@tauware.de>
Sun, 2 Feb 2014 04:51:46 +0000 (23:51 -0500)
commit62ed6da016b789eee00e0fff517df4a254e12e5d
tree1bb9eaef5b7f03d9d9415148d8e5535a054fa961
parenta1b4d42d31ba700c97d4388153a2a553d71ca0ba
h264: check that an IDR NAL only contains I slices

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
(cherry picked from commit 8b2e5e42bb9d6a59ede5af2e6df4aaf7750d1195)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/h264.c