X-Git-Url: http://git.ffmpeg.org/gitweb/ffmpeg.git/blobdiff_plain/b37dfe181cc34ea76155cf449d168c385f32f061..6cbe81999b07862895515fcbdae7bc3a320ca29c:/libavformat/mov.c diff --git a/libavformat/mov.c b/libavformat/mov.c index 088df2c..773760c 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -2202,7 +2202,7 @@ static int mov_read_elst(MOVContext *c, AVIOContext *pb, MOVAtom atom) time = avio_rb64(pb); } else { duration = avio_rb32(pb); /* segment duration */ - time = avio_rb32(pb); /* media time */ + time = (int32_t)avio_rb32(pb); /* media time */ } avio_rb32(pb); /* Media rate */ if (i == 0 && time >= -1) {