rv10: check size of s->mb_width * s->mb_height
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Tue, 3 Mar 2015 20:31:15 +0000 (21:31 +0100)
committerAnton Khirnov <anton@khirnov.net>
Thu, 5 Mar 2015 13:49:16 +0000 (14:49 +0100)
commit66624ed6319cb1a959256fe1a717fec5b748fbfa
treee10aa0329f8850e7f67bc5978a830e7f66118ca6
parent9c09fbd8053292267cdc4b542913ceced43ea3a9
rv10: check size of s->mb_width * s->mb_height

If it doesn't fit into 12 bits it triggers an assertion.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/mpegvideo.h
libavcodec/mpegvideo_enc.c
libavcodec/rv10enc.c