git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d6ac1a
)
10l inverted condition check generated an endless loop
author
Aurelien Jacobs
<aurel@gnuage.org>
Tue, 17 Oct 2006 17:19:11 +0000
(17:19 +0000)
committer
Aurelien Jacobs
<aurel@gnuage.org>
Tue, 17 Oct 2006 17:19:11 +0000
(17:19 +0000)
Originally committed as revision 6722 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/ogg2.c
patch
|
blob
|
history
diff --git
a/libavformat/ogg2.c
b/libavformat/ogg2.c
index
5f13669
..
1e5d386
100644
(file)
--- a/
libavformat/ogg2.c
+++ b/
libavformat/ogg2.c
@@
-494,7
+494,7
@@
ogg_get_length (AVFormatContext * s)
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;
}