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:
e8f917d
)
10l to whoever wrote this (wrong fps, fixes nirvana.nuv)
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 31 Jan 2007 11:24:04 +0000
(11:24 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 31 Jan 2007 11:24:04 +0000
(11:24 +0000)
Originally committed as revision 7781 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/nuv.c
patch
|
blob
|
history
diff --git
a/libavformat/nuv.c
b/libavformat/nuv.c
index
31f02b2
..
7e04222
100644
(file)
--- a/
libavformat/nuv.c
+++ b/
libavformat/nuv.c
@@
-154,7
+154,7
@@
static int nuv_header(AVFormatContext *s, AVFormatParameters *ap) {
vst->codec->height = height;
vst->codec->bits_per_sample = 10;
vst->codec->sample_aspect_ratio = av_d2q(aspect, 10000);
- vst->r_frame_rate = av_d2q(
1.0 / fps, 1
0000);
+ vst->r_frame_rate = av_d2q(
fps, 6
0000);
av_set_pts_info(vst, 32, 1, 1000);
} else
ctx->v_id = -1;