Browse Source

* fixed 9868 typo

git-svn-id: trunk@8736 -
marco 18 years ago
parent
commit
c213f47986
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/extra/oggvorbis/vorbis.pas

+ 1 - 1
packages/extra/oggvorbis/vorbis.pas

@@ -440,7 +440,7 @@ begin
   while num > 0 do
   while num > 0 do
   begin
   begin
     res := ov_read(vf, pointer(ptrint(buffer) + ofs), num, bigendianp, word, sgned, nil);
     res := ov_read(vf, pointer(ptrint(buffer) + ofs), num, bigendianp, word, sgned, nil);
-    if res <= 0 then
+    if res < 0 then
       Exit(res);
       Exit(res);
 
 
     if res = 0 then
     if res = 0 then