Browse Source

use mblk_meta_copy in decode process

pull/1/head
Yann Diorcet 14 years ago
parent
commit
8d5d6c1e96
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      msbcg729/bcg729_dec.c

+ 1
- 0
msbcg729/bcg729_dec.c View File

@ -50,6 +50,7 @@ static void filter_process(MSFilter *f){
while((inputMessage=ms_queue_get(f->inputs[0]))) {
while(inputMessage->b_rptr<inputMessage->b_wptr) {
outputMessage = allocb(SIGNAL_FRAME_SIZE,0);
mblk_meta_copy(inputMessage, outputMessage);
bcg729Decoder(obj->decoderChannelContext, inputMessage->b_rptr, 0, (int16_t *)(outputMessage->b_wptr));
outputMessage->b_wptr+=SIGNAL_FRAME_SIZE;
inputMessage->b_rptr+=BITSTREAM_FRAME_SIZE;


Loading…
Cancel
Save