flvenc: use int64_t to store offsets
authorLuca Barbato <lu_zero@gentoo.org>
Wed, 8 Jun 2011 14:32:07 +0000 (14:32 +0000)
committerAnton Khirnov <anton@khirnov.net>
Sun, 11 Sep 2011 11:00:45 +0000 (13:00 +0200)
commite30e0a16af274f87c028ce4884d5b2e415517902
tree532693b721ce1c0a3ac3032391993f1f9bd70e24
parent210d8f4ca23b97bcb34b18a92c6a66b243e86021
flvenc: use int64_t to store offsets

Metadata currently is written only at the start of the file in normal
cases, when transcoding from a rtmp source metadata could be
written later and the offset recorded can exceed 32bit.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
(cherry picked from commit 7f5bf4fbaf1f2142547321a16358f9871fabdcc6)

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/flvenc.c