Ignore:
Timestamp:
May 11, 2010 6:33:55 AM (15 years ago)
Author:
nanang
Message:

Re #1068:

  • Fixed max frames-per-packet constants in AMR codec (IPP and passthrough) to be based on PJMEDIA_MAX_FRAME_DURATION_MS setting.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-codec/ipp_codecs.c

    r3078 r3165  
    496496                            pj_size_t *pkt_size, pj_size_t max_pkt_size) 
    497497{ 
    498     enum {MAX_FRAMES_PER_PACKET = 16}; 
     498    enum {MAX_FRAMES_PER_PACKET = PJMEDIA_MAX_FRAME_DURATION_MS / 20}; 
    499499 
    500500    pjmedia_frame frames[MAX_FRAMES_PER_PACKET]; 
Note: See TracChangeset for help on using the changeset viewer.