Changeset 3448


Ignore:
Timestamp:
Mar 15, 2011 11:23:48 AM (14 years ago)
Author:
bennylp
Message:

Re #1208 (misc): bug in resample_port, the port info is accessed before it is initialized

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia/resample_port.c

    r3392 r3448  
    6868 
    6969    d_afd = pjmedia_format_get_audio_format_detail(&dn_port->info.fmt, 1); 
    70     r_afd = pjmedia_format_get_audio_format_detail(&rport->base.info.fmt, 1); 
    7170 
    7271    /* Create and initialize port. */ 
     
    8180    rport->options = opt; 
    8281 
     82    r_afd = pjmedia_format_get_audio_format_detail(&rport->base.info.fmt, 1); 
    8383 
    8484    /* Create buffers.  
Note: See TracChangeset for help on using the changeset viewer.