opusenc: avoid potential overflow expression
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Thu, 12 Nov 2015 12:21:54 +0000 (12:21 +0000)
committerLuis de Bethencourt <luisbg@osg.samsung.com>
Thu, 12 Nov 2015 12:29:33 +0000 (12:29 +0000)
commitbd82332f6c208365a7d188d15a7f0204251c0902
tree966a68e1b08b3607a0b4290c75d914245a560a2e
parentfc23467152fe470f736592a11583a140ae496c9d
opusenc: avoid potential overflow expression

The result of the two expressions will be promoted to guint64 anyway,
perform all the arithmetic in 64 bits to avoid potential overflows.

CID 1338690, CID 1338691
ext/opus/gstopusenc.c