oggparsedaala: check number of planes in pixel format map
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Tue, 29 Dec 2015 15:38:26 +0000 (16:38 +0100)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Tue, 29 Dec 2015 17:42:14 +0000 (18:42 +0100)
commitb4466c9c1a82ce72011ed72e1221a30b15f73adb
treef5c72cf92187b0999bdcfc609c5e4e08eec7b714
parent4a44bc5588944cb8a81e0896bc97643e0c894989
oggparsedaala: check number of planes in pixel format map

This fixes crashes caused by out-of-bounds writes.

Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavformat/oggparsedaala.c