diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-11-04 19:02:14 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-11-04 19:02:14 +0000 |
commit | 70122f2902c815e395be44bc4097cbf6164ef3f5 (patch) | |
tree | 730ae25c4201d2e4ad341710a571c83b579ebf14 /ffmpeg.c | |
parent | d34a07466fdbaeb5e5775d312ab9c75bdf0ae550 (diff) | |
download | ffmpeg-70122f2902c815e395be44bc4097cbf6164ef3f5.tar.gz |
remove weird offsets
Originally committed as revision 3660 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -695,7 +695,7 @@ static void do_video_out(AVFormatContext *s, if (vdelta < -1.1) nb_frames = 0; else if (vdelta > 1.1) - nb_frames = lrintf(vdelta - 1.1 + 0.5); + nb_frames = lrintf(vdelta); //fprintf(stderr, "vdelta:%f, ost->sync_opts:%lld, ost->sync_ipts:%f nb_frames:%d\n", vdelta, ost->sync_opts, ost->sync_ipts, nb_frames); if (nb_frames == 0){ ++nb_frames_drop; |