OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1ea5c2
)
use av_q2d as in the rest of the file
author
Alex Beregszaszi
<alex@rtfs.hu>
Tue, 17 Jul 2007 13:04:22 +0000
(13:04 +0000)
committer
Alex Beregszaszi
<alex@rtfs.hu>
Tue, 17 Jul 2007 13:04:22 +0000
(13:04 +0000)
Originally committed as revision 9720 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
ac52d7a
..
46e3111
100644
(file)
--- a/
ffmpeg.c
+++ b/
ffmpeg.c
@@
-969,7
+969,7
@@
static void print_report(AVFormatContext **output_files,
vid = 1;
}
/* compute min output value */
- pts = (double)ost->st->pts.val *
ost->st->time_base.num / ost->st->time_base.den
;
+ pts = (double)ost->st->pts.val *
av_q2d(ost->st->time_base)
;
if ((pts < ti1) && (pts > 0))
ti1 = pts;
}