Changeset 4537 for pjproject/trunk/pjmedia/src/pjmedia-codec/speex_codec.c
- Timestamp:
- Jun 19, 2013 6:47:43 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-codec/speex_codec.c
r3664 r4537 841 841 842 842 /* Copy the data into the speex bit-stream */ 843 speex_bits_read_from(&spx->dec_bits, (char*)pkt, pkt_size);843 speex_bits_read_from(&spx->dec_bits, (char*)pkt, (int)pkt_size); 844 844 845 845 while (speex_get_next_frame(&spx->dec_bits) == 0 && … … 878 878 int tx = 0; 879 879 spx_int16_t *pcm_in = (spx_int16_t*)input->buf; 880 unsignednsamples;880 pj_size_t nsamples; 881 881 882 882 spx = (struct spx_private*) codec->codec_data; … … 953 953 954 954 /* Copy the data into the bit-stream struct */ 955 speex_bits_read_from(&spx->dec_bits, (char*)input->buf, input->size);955 speex_bits_read_from(&spx->dec_bits, (char*)input->buf, (int)input->size); 956 956 957 957 /* Set Speex dec_bits pointer to the start bit of the frame */
Note: See TracChangeset
for help on using the changeset viewer.