[Ffmpeg-cvslog] r6722 - trunk/libavformat/ogg2.c
aurel
subversion
Tue Oct 17 19:19:11 CEST 2006
Author: aurel
Date: Tue Oct 17 19:19:11 2006
New Revision: 6722
Modified:
trunk/libavformat/ogg2.c
Log:
10l inverted condition check generated an endless loop
Modified: trunk/libavformat/ogg2.c
==============================================================================
--- trunk/libavformat/ogg2.c (original)
+++ trunk/libavformat/ogg2.c Tue Oct 17 19:19:11 2006
@@ -494,7 +494,7 @@
ogg->size = size;
ogg_restore (s, 0);
ogg_save (s);
- while (ogg_read_page (s, &i)) {
+ while (!ogg_read_page (s, &i)) {
if (i == idx && ogg->streams[i].granule != -1 && ogg->streams[i].granule != 0)
break;
}
More information about the ffmpeg-cvslog
mailing list