diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-09-02 21:02:31 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-09-02 21:10:36 +0200 |
commit | d9b56895b5812e59ebda42b7d8ce221bd50f9f03 (patch) | |
tree | 8325fa9c426e01b2fc434fcc52193b69f9a622cb /libavcodec/mpegvideo.h | |
parent | 5b6a50e15006d758ba308d5576a450406cd433f6 (diff) |
avcodec/mpegvideo: change bit_rate to 64bit
32bit is not sufficient for all cases
Fixes: signal_sigabrt_7ffff6ac8cc9_686_cov_1897408623_microsoft_new_way_to_shove_mpeg2_in_asf.dvr_ms
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r-- | libavcodec/mpegvideo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index 84920452e4..b47a4f38aa 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -107,7 +107,7 @@ typedef struct MpegEncContext { int width, height;///< picture size. must be a multiple of 16 int gop_size; int intra_only; ///< if true, only intra pictures are generated - int bit_rate; ///< wanted bit rate + int64_t bit_rate; ///< wanted bit rate enum OutputFormat out_format; ///< output format int h263_pred; ///< use mpeg4/h263 ac/dc predictions int pb_frame; ///< PB frame mode (0 = none, 1 = base, 2 = improved) |