avformat/utils: change the duration to int64_t for update_initial_durations

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
Limin Wang 2020-04-29 07:49:24 +08:00
parent 38d1815cc6
commit 8afa03a5f6

View File

@ -1174,7 +1174,7 @@ static void update_initial_timestamps(AVFormatContext *s, int stream_index,
}
static void update_initial_durations(AVFormatContext *s, AVStream *st,
int stream_index, int duration)
int stream_index, int64_t duration)
{
AVPacketList *pktl = s->internal->packet_buffer ? s->internal->packet_buffer : s->internal->parse_queue;
int64_t cur_dts = RELATIVE_TS_BASE;