[Ffmpeg-cvslog] CVS: ffmpeg/libavformat ogg2.c,1.3,1.4
Måns Rullgård CVS
mru
Tue Apr 12 15:33:25 CEST 2005
- Previous message: [Ffmpeg-cvslog] CVS: ffmpeg/doc ffmpeg-doc.texi, 1.81, 1.82 ffserver.conf, 1.17, 1.18 optimization.txt, 1.7, 1.8
- Next message: [Ffmpeg-cvslog-old] Re: [Ffmpeg-cvslog] CVS: ffmpeg/libavformat ogg2.c, 1.1, 1.2 ogg2.h, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/ffmpeg/ffmpeg/libavformat
In directory mail:/var2/tmp/cvs-serv8038/libavformat
Modified Files:
ogg2.c
Log Message:
fix seeking bug
Index: ogg2.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/ogg2.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- ogg2.c 10 Apr 2005 17:25:54 -0000 1.3
+++ ogg2.c 12 Apr 2005 13:33:22 -0000 1.4
@@ -554,7 +554,7 @@
ogg_save (s);
while (min <= max){
- uint64_t p = min + (max - min) * target_ts / (tmax - tmin);
+ uint64_t p = min + (max - min) * (target_ts - tmin) / (tmax - tmin);
int i = -1;
url_fseek (bc, p, SEEK_SET);
- Previous message: [Ffmpeg-cvslog] CVS: ffmpeg/doc ffmpeg-doc.texi, 1.81, 1.82 ffserver.conf, 1.17, 1.18 optimization.txt, 1.7, 1.8
- Next message: [Ffmpeg-cvslog-old] Re: [Ffmpeg-cvslog] CVS: ffmpeg/libavformat ogg2.c, 1.1, 1.2 ogg2.h, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the ffmpeg-cvslog
mailing list