OSDN Git Service

Fix overflow check insufficiently improved in r19840.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 16 Sep 2009 15:12:23 +0000 (15:12 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 16 Sep 2009 15:12:23 +0000 (15:12 +0000)
commit0d6da4b83130337969ab35f12911923ab7200bbb
tree704bf0a8023bd832eb5324de9968a8973fdbf6f5
parentd859bb1db0b082644881058a12653e3207855678
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.

Originally committed as revision 19882 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/sierravmd.c