Changeset 161


Ignore:
Timestamp:
10/13/2009 03:10:19 PM (14 years ago)
Author:
marcus
Message:

r95 | svn | 2009-10-06 22:42:10 +0200 (Di, 06 Okt 2009) | 1 line

throw out comment blocks with zero sample rate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • SH_SHM/trunk/source/gcf/split_gcf.c

    r16 r161  
    130130                GcfDecodeHeader( &rhdr, &hdr, &status ); 
    131131                if  (SySevere(&status))  { 
    132                         fprintf( stderr, "*** %s: error decoding header in file %s\n", 
    133                                 argv[0], inpfile ); 
     132                        fprintf( stderr, "*** %s: error decoding header in file %s (status %d)\n", 
     133                                argv[0], inpfile, status ); 
    134134                        fclose( inp ); 
    135135                        if  (out != NULL)  fclose( out ); 
    136136                        return 1; 
    137137                } /*endif*/ 
     138                /* zero sample rate denotes comment block */ 
     139                if  (hdr.smprate == 0) 
     140                        continue; 
    138141 
    139142                /* get output file name */ 
Note: See TracChangeset for help on using the changeset viewer.