mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
ffmpeg: Change duration to int64_t
It is assigned from 64bit input in some branches and used with 64bit timestamps This thus fixes a potential integer truncation Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
15a23a8332
commit
0e2f0fedcd
2
ffmpeg.c
2
ffmpeg.c
@ -2617,7 +2617,7 @@ static int process_input_packet(InputStream *ist, const AVPacket *pkt, int no_eo
|
||||
|
||||
// while we have more to decode or while the decoder did output something on EOF
|
||||
while (ist->decoding_needed) {
|
||||
int duration = 0;
|
||||
int64_t duration = 0;
|
||||
int got_output = 0;
|
||||
int decode_failed = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user