rtpenc: Cast a rescaling parameter to int64_t
authorMartin Storsjö <martin@martin.st>
Wed, 30 Nov 2011 20:03:43 +0000 (22:03 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 1 Dec 2011 21:19:14 +0000 (23:19 +0200)
commit2d31d890bfce103512dca34e35815762eb61b5da
tree6e80ff8f0cc843b98713e68ac060cb86ff928647
parent2574f08d4c30b37e39650a3b3d1970f75f3170cd
rtpenc: Cast a rescaling parameter to int64_t

This avoids overflow if frame_size is over 2147, since both
frame_size and AV_TIME_BASE are plain integers.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtpenc.c