projects
/
platform
/
upstream
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
421b59e
)
Bug fix of wrong duration
61/247561/4
author
hj kim
<backto.kim@samsung.com>
Thu, 12 Nov 2020 05:50:45 +0000
(14:50 +0900)
committer
hj kim
<backto.kim@samsung.com>
Tue, 1 Dec 2020 07:05:55 +0000
(07:05 +0000)
Change-Id: Ifbf39b5b2a1634c8c45d9d2cc50688a09005b550
libavformat/mov.c
patch
|
blob
|
history
diff --git
a/libavformat/mov.c
b/libavformat/mov.c
index
dfb41b9
..
9e9d61a
100644
(file)
--- a/
libavformat/mov.c
+++ b/
libavformat/mov.c
@@
-4697,6
+4697,9
@@
static int mov_read_trex(MOVContext *c, AVIOContext *pb, MOVAtom atom)
return err;
}
+#ifdef __TIZEN__
+ if (c->fc->duration == 0)
+#endif
c->fc->duration = AV_NOPTS_VALUE; // the duration from mvhd is not representing the whole file when fragments are used.
trex = &c->trex_data[c->trex_count++];