summaryrefslogtreecommitdiff
path: root/multimedia/vls/patches/patch-ag
blob: 801db5ddccdc6a026bf35b4ae7481a0bf70c07e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
$NetBSD: patch-ag,v 1.1 2006/01/03 14:04:27 joerg Exp $

--- src/core/stream.cpp.orig	2006-01-03 13:54:46.000000000 +0000
+++ src/core/stream.cpp
@@ -319,7 +319,7 @@ template <class IOStream>
 {
   try
   {
-    u32 iByteCount = cSerializer.NextBytesCount();
+    u32 iByteCount = this->cSerializer.NextBytesCount();
     while(iByteCount > 0)
     {
       const byte aBytes[iByteCount];
@@ -332,13 +332,13 @@ template <class IOStream>
         ASSERT(iRc >= 0 || iRc == FILE_EOF);
         iOffset += iRc;
       }
-      while(iByteCount > 0 && iRc != FILE_EOF);
+      while(iByteCount > 0 && this->iRc != FILE_EOF);
 
       // Deserialize them
-      cSerializer.SetNextBytes(&aBytes);
+      this->cSerializer.SetNextBytes(&aBytes);
 
       // Next iteration
-      iByteCount = cSerializer.NextBytesCount();
+      iByteCount = this->cSerializer.NextBytesCount();
     }
   }
   catch(E_Exception e)