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:
5f112e1
)
set track timescale to mov timescale if 0 patch by (Baptiste COUDURIER <baptiste...
author
Baptiste Coudurier
<baptiste.coudurier@smartjog.com>
Mon, 6 Mar 2006 22:15:43 +0000
(22:15 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 6 Mar 2006 22:15:43 +0000
(22:15 +0000)
Originally committed as revision 5121 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/mov.c
patch
|
blob
|
history
diff --git
a/libavformat/mov.c
b/libavformat/mov.c
index
3cb727c
..
7e5473d
100644
(file)
--- a/
libavformat/mov.c
+++ b/
libavformat/mov.c
@@
-1635,6
+1635,8
@@
static int mov_read_header(AVFormatContext *s, AVFormatParameters *ap)
if(!sc->time_rate)
sc->time_rate=1;
+ if(!sc->time_scale)
+ sc->time_scale= mov->time_scale;
av_set_pts_info(s->streams[i], 64, sc->time_rate, sc->time_scale);
if(s->streams[i]->duration != AV_NOPTS_VALUE){