Use 64 bit for times in mpeg4_encode_gop_header()

This commit is contained in:
2025-12-11 20:49:27 +08:00
parent 7b0867a6cf
commit 36c3cbf1b0

View File

@@ -864,7 +864,7 @@ void ff_set_mpeg4_time(MpegEncContext * s){
}
static void mpeg4_encode_gop_header(MpegEncContext * s){
int hours, minutes, seconds;
int64_t hours, minutes, seconds;
int64_t time;
put_bits(&s->pb, 16, 0);