[xiph-commits] r15451 - trunk/oggdsf/src/lib/codecs/flac/filters/dsfNativeFLACSource
cristianadam at svn.xiph.org
cristianadam at svn.xiph.org
Sat Oct 25 06:27:59 PDT 2008
Author: cristianadam
Date: 2008-10-25 06:27:59 -0700 (Sat, 25 Oct 2008)
New Revision: 15451
Modified:
trunk/oggdsf/src/lib/codecs/flac/filters/dsfNativeFLACSource/NativeFLACSourceFilter.cpp
Log:
Fixed bug while seeking at the end of a native FLAC file.
Modified: trunk/oggdsf/src/lib/codecs/flac/filters/dsfNativeFLACSource/NativeFLACSourceFilter.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/flac/filters/dsfNativeFLACSource/NativeFLACSourceFilter.cpp 2008-10-25 13:26:37 UTC (rev 15450)
+++ trunk/oggdsf/src/lib/codecs/flac/filters/dsfNativeFLACSource/NativeFLACSourceFilter.cpp 2008-10-25 13:27:59 UTC (rev 15451)
@@ -239,11 +239,20 @@
mJustSeeked = false;
bool res2 = false;
res2 = seek_absolute(mSeekRequest);
- //ERROR???
+ if (!res2)
+ {
+ //ERROR???
+ flush();
+ break;
+ }
}
res = process_single();
- //ERROR???
+ if (!res)
+ {
+ //ERROR???
+ flush();
+ }
if (mWasEOF) {
break;
More information about the commits
mailing list