Fix overflow check insufficiently improved in r19840.
commit7798d31bee361724e0a6ede4e2fd67228f24040b
authorreimar <reimar@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Wed, 16 Sep 2009 15:12:23 +0000 (16 15:12 +0000)
committerreimar <reimar@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Wed, 16 Sep 2009 15:12:23 +0000 (16 15:12 +0000)
tree3747d411d968a6679a8ab69a5d85ec4f2f80ad7a
parent4c5a7fe906477b1a9ab9e42b87610caf2f815d99
Fix overflow check insufficiently improved in r19840.
It assumes that sizeof(vmd_frame) < 64k, otherwise an additional
check to ensure sound_buffers <= UINT_MAX / sizeof(vmd_frame) would be necessary.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19882 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
libavformat/sierravmd.c