Ignore:
Timestamp:
May 6, 2009 2:34:13 PM (15 years ago)
Author:
bennylp
Message:

More ticket #774: fixed G.722.1 compilation warnings on linux/gcc-4.3.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/test/codec_vectors.c

    r2660 r2675  
    126126 
    127127        if (out_frame.size) { 
    128             fwrite(out_frame.buf, out_frame.size, 1, output); 
     128            int cnt; 
     129 
     130            cnt = fwrite(out_frame.buf, out_frame.size, 1, output); 
    129131 
    130132            if (encoded_frame_len == 0) 
    131133                encoded_frame_len = out_frame.size; 
    132         }    } 
     134        }     
     135    } 
    133136 
    134137    fclose(output); 
     
    491494} 
    492495 
    493  
     496#if PJMEDIA_HAS_G7221_CODEC 
    494497/* For ITU testing, off the 2 lsbs. */ 
    495498static void g7221_pcm_manip(short *pcm, unsigned count) 
     
    500503 
    501504} 
     505#endif  /* PJMEDIA_HAS_G7221_CODEC */ 
    502506 
    503507int codec_test_vectors(void) 
Note: See TracChangeset for help on using the changeset viewer.