Mercurial > libavformat.hg
changeset 1397:21755fe31dd7 libavformat
10l inverted condition check generated an endless loop
author | aurel |
---|---|
date | Tue, 17 Oct 2006 17:19:11 +0000 |
parents | 069c0c5a1baf |
children | 303e9fb547c7 |
files | ogg2.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ogg2.c Tue Oct 17 11:30:22 2006 +0000 +++ b/ogg2.c Tue Oct 17 17:19:11 2006 +0000 @@ -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; }