Subversion Repositories Kolibri OS

Rev

Rev 228 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 228 Rev 286
Line 110... Line 110...
110
    if (retval) return 0; 
110
    if (retval) return 0; 
111
    rd->stream = rd->buffer; 
111
    rd->stream = rd->buffer; 
112
    rd->strremain=bytes;
112
    rd->strremain=bytes;
113
    rd->filepos=filepos+bytes;
113
    rd->filepos=filepos+bytes;
114
    rd->strpos = 0;  
114
    rd->strpos = 0;
-
 
115
 
-
 
116
    fsizeold=0;
-
 
117
    firsthead=0;
-
 
118
    bsbufold = 0;
-
 
119
    bsbuf = bsspace[1];
-
 
120
    bsnum = 0;
-
 
121
    ssize=0;
-
 
122
    oldhead=0;   
-
 
123
    memset(bsspace,0,sizeof(bsspace));    
115
    return 1; 
124
    return 1; 
116
};
125
};
Line 117... Line 126...
117
    
126
    
118
static int stream_head_read(struct reader *rd,unsigned long *newhead)
127
static int stream_head_read(struct reader *rd,unsigned long *newhead)
Line 713... Line 722...
713
    getbits(16); 
722
    getbits(16); 
714
  return 1;
723
  return 1;
715
}
724
}
Line 716... Line -...
716
 
-
 
717
 
725
 
-
 
726
 
718
 
727
#if 0
719
#if 0
728
 
720
static int stream_back_bytes(struct reader *rds, off_t bytes)
729
static int stream_back_bytes(struct reader *rds, off_t bytes)
721
{
730
{
722
  if(stream_lseek(rds,-bytes,SEEK_CUR) < 0)
731
  if(stream_lseek(rds,-bytes,SEEK_CUR) < 0)