]> git.sesse.net Git - vlc/commit
TTA: Sanity check to avoid overflow and typo
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 20 Aug 2008 20:56:05 +0000 (13:56 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 20 Aug 2008 20:56:05 +0000 (13:56 -0700)
commitd487b81dde82b458dd6ffe6cb73aa798d6b0b855
treea412b2b0f975fbb9606e5d757b9ae4401fee228f
parentdb89ea7f1314cb0e1f0c07dfd6a5a3e4c417a63a
TTA: Sanity check to avoid overflow and typo

i_rate can go up to 2^32-1.
If you * 1.044 it is going to not fit in a int (_framelength)
modules/demux/tta.c