Changeset 2675 for pjproject/trunk/pjmedia/src/test/codec_vectors.c
- Timestamp:
- May 6, 2009 2:34:13 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/test/codec_vectors.c
r2660 r2675 126 126 127 127 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); 129 131 130 132 if (encoded_frame_len == 0) 131 133 encoded_frame_len = out_frame.size; 132 } } 134 } 135 } 133 136 134 137 fclose(output); … … 491 494 } 492 495 493 496 #if PJMEDIA_HAS_G7221_CODEC 494 497 /* For ITU testing, off the 2 lsbs. */ 495 498 static void g7221_pcm_manip(short *pcm, unsigned count) … … 500 503 501 504 } 505 #endif /* PJMEDIA_HAS_G7221_CODEC */ 502 506 503 507 int codec_test_vectors(void)
Note: See TracChangeset
for help on using the changeset viewer.