[xiph-commits] r3843 - liboggplay/trunk/src/liboggplay
shans at svn.annodex.net
shans at svn.annodex.net
Mon Jan 19 15:23:21 PST 2009
Author: shans
Date: 2009-01-19 15:23:21 -0800 (Mon, 19 Jan 2009)
New Revision: 3843
Modified:
liboggplay/trunk/src/liboggplay/oggplay.c
Log:
fixed frame loop
Modified: liboggplay/trunk/src/liboggplay/oggplay.c
===================================================================
--- liboggplay/trunk/src/liboggplay/oggplay.c 2009-01-16 03:58:24 UTC (rev 3842)
+++ liboggplay/trunk/src/liboggplay/oggplay.c 2009-01-19 23:23:21 UTC (rev 3843)
@@ -572,8 +572,11 @@
int r;
while (1) {
- if ((r = oggplay_step_decoding(me)) != E_OGGPLAY_CONTINUE)
- return (OggPlayErrorCode)r;
+ r = oggplay_step_decoding(me);
+ if (r == E_OGGPLAY_CONTINUE || r == E_OGGPLAY_TIMEOUT) {
+ continue;
+ }
+ return (OggPlayErrorCode)r;
}
}
More information about the commits
mailing list