oggstream: Use proper type for sample calculation
authorEdward Hervey <edward@centricular.com>
Sun, 5 Nov 2017 11:16:13 +0000 (12:16 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Sun, 5 Nov 2017 11:16:13 +0000 (12:16 +0100)
commitaf48682d449260a22e64ad974d289e999f3b9f42
tree0657014b1004e001b1bbf5f38fa192e3ca18bc80
parent7f5ffcaa49bd19587b824f23dbcac8b7154687ec
oggstream: Use proper type for sample calculation

If we are going to return a (potentially) 64bit integer, don't use
a 32bit one for calculation, otherwise we could end up exceeding
the maximum size of a 32bit int.
ext/ogg/gstoggstream.c