diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2006-10-17 17:19:11 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2006-10-17 17:19:11 +0000 |
commit | 595da759de5a94def0ee409a72b07d0be36f5d2a (patch) | |
tree | ece92b1cdcdee5f3aa2179172d851e785f2bf629 /libavformat | |
parent | 4d6ac1a47b1c866bcee6cb48332f435d193264cf (diff) | |
download | ffmpeg-595da759de5a94def0ee409a72b07d0be36f5d2a.tar.gz |
10l inverted condition check generated an endless loop
Originally committed as revision 6722 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/ogg2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/ogg2.c b/libavformat/ogg2.c index 5f1366965a..1e5d386205 100644 --- 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; } |