diff options
author | Yusuke Nakamura <muken.the.vfrmaniac@gmail.com> | 2011-06-05 01:28:43 +0900 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2011-06-19 18:15:56 -0700 |
commit | ae88e9cf99837e5eec811c817a17b2cbc9724a01 (patch) | |
tree | 9d76f0c799f973341b91533b23ea53da420909fc | |
parent | 8d3d3436e2596e27571b86eb97c66971a1a7431b (diff) | |
download | ffmpeg-ae88e9cf99837e5eec811c817a17b2cbc9724a01.tar.gz |
mov: Fix empty edit detection.
-rw-r--r-- | libavformat/mov.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index ab5c4e2db9..c720440472 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -2193,7 +2193,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) { |