Browse Source

10l to whoever wrote this (wrong fps, fixes nirvana.nuv)

Originally committed as revision 7781 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 19 years ago
parent
commit
8643594ce3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/nuv.c

+ 1
- 1
libavformat/nuv.c View File

@@ -154,7 +154,7 @@ static int nuv_header(AVFormatContext *s, AVFormatParameters *ap) {
vst->codec->height = height; vst->codec->height = height;
vst->codec->bits_per_sample = 10; vst->codec->bits_per_sample = 10;
vst->codec->sample_aspect_ratio = av_d2q(aspect, 10000); vst->codec->sample_aspect_ratio = av_d2q(aspect, 10000);
vst->r_frame_rate = av_d2q(1.0 / fps, 10000);
vst->r_frame_rate = av_d2q(fps, 60000);
av_set_pts_info(vst, 32, 1, 1000); av_set_pts_info(vst, 32, 1, 1000);
} else } else
ctx->v_id = -1; ctx->v_id = -1;


Loading…
Cancel
Save