flvenc: use int64_t to store offsets
authorLuca Barbato <lu_zero@gentoo.org>
Wed, 8 Jun 2011 14:32:07 +0000 (14:32 +0000)
committerReinhard Tartler <siretart@tauware.de>
Mon, 26 Sep 2011 17:26:30 +0000 (19:26 +0200)
commitfe3e7297fe56a383baca484dea2c0d603ae305f8
tree532693b721ce1c0a3ac3032391993f1f9bd70e24
parent28321b777f76528b061646a3555d08b94ff667bc
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