projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d3d343
)
mov: Fix empty edit detection.
author
Yusuke Nakamura
<muken.the.vfrmaniac@gmail.com>
Sat, 4 Jun 2011 16:28:43 +0000
(
01:28
+0900)
committer
Alex Converse
<alex.converse@gmail.com>
Mon, 20 Jun 2011 01:15:56 +0000
(18:15 -0700)
libavformat/mov.c
patch
|
blob
|
history
diff --git
a/libavformat/mov.c
b/libavformat/mov.c
index
ab5c4e2
..
c720440
100644
(file)
--- 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) {