From c311713ca99cb0556609972ba60d3634dc96c7a0 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Tue, 15 Sep 2015 17:29:38 +0200 Subject: lavf: Switch bitrate to 64bit unless compatibility with avconv was requested. Based on a patch by Steve Swanson, swanysteve at gmail. Fixes ticket #2089. --- libavformat/avformat.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libavformat/avformat.h') diff --git a/libavformat/avformat.h b/libavformat/avformat.h index b7f18c1614..825e6365e5 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -1358,7 +1358,11 @@ typedef struct AVFormatContext { * available. Never set it directly if the file_size and the * duration are known as FFmpeg can compute it automatically. */ +#if AV_HAVE_INCOMPATIBLE_LIBAV_ABI int bit_rate; +#else + int64_t bit_rate; +#endif unsigned int packet_size; int max_delay; -- cgit v1.2.3