This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
10l inverted condition check generated an endless loop
Originally committed as revision 6722 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Aurelien Jacobs
19 years ago
parent
4d6ac1a47b
commit
595da759de
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/ogg2.c
+ 1
- 1
libavformat/ogg2.c
View File
@@ -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;
}
Write
Preview
Loading…
Cancel
Save