Changeset 639:4a7ecf6e3733 in roaraudio


Ignore:
Timestamp:
08/21/08 23:41:44 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Tags:
roaraudio_0_1_testing8_wesen
Message:

added RoarCELT magic on writing cf celt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/codecfilter_celt.c

    r638 r639  
    199199 unsigned char cbits[BS+2]; 
    200200 
     201 if ( !self->opened ) { 
     202  if ( stream_vio_s_write(self->stream, ROAR_CELT_MAGIC, ROAR_CELT_MAGIC_LEN) != ROAR_CELT_MAGIC_LEN ) 
     203   return -1; 
     204  self->opened = 1; 
     205 } 
     206 
    201207 if ( (self->fo_rest + len) > fs2 ) { 
    202208  if ( self->fo_rest ) { 
Note: See TracChangeset for help on using the changeset viewer.