Ignore:
Timestamp:
Apr 20, 2012 3:19:42 AM (7 years ago)
Author:
nanang
Message:

Fix #1490: frame type 15, instead of 14, should be assigned for zero length AMR-NB frames.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x/pjmedia/src/pjmedia-codec/passthrough.c

    r3589 r4063  
    260260         
    261261        if (len == 0) { 
    262             info->frame_type = (pj_uint8_t)(enc_setting->amr_nb? 14 : 15); 
     262            /* DTX */ 
     263            info->frame_type = 15; 
    263264        } else { 
    264265            info->frame_type = pjmedia_codec_amr_get_mode2(enc_setting->amr_nb,  
Note: See TracChangeset for help on using the changeset viewer.