Changeset 1921 for pjproject/trunk


Ignore:
Timestamp:
Apr 10, 2008 11:04:49 AM (17 years ago)
Author:
bennylp
Message:

Fixed bug in writing snd_clock_rate configuration to file in pjsua

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c

    r1898 r1921  
    14091409    } 
    14101410 
    1411     if (config->media_cfg.snd_clock_rate != config->media_cfg.clock_rate) { 
     1411    if (config->media_cfg.snd_clock_rate &&  
     1412        config->media_cfg.snd_clock_rate != config->media_cfg.clock_rate)  
     1413    { 
    14121414        pj_ansi_sprintf(line, "--snd-clock-rate %d\n", 
    1413                         config->media_cfg.snd_clock_rate); 
    1414         pj_strcat2(&cfg, line); 
    1415     } else { 
    1416         pj_ansi_sprintf(line, "#using default --snd-clock-rate %d\n", 
    14171415                        config->media_cfg.snd_clock_rate); 
    14181416        pj_strcat2(&cfg, line); 
Note: See TracChangeset for help on using the changeset viewer.