Changeset 391


Ignore:
Timestamp:
Apr 6, 2006 8:36:27 PM (17 years ago)
Author:
bennylp
Message:

Fixed crash bug in siprtp sample when call is not connected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/siprtp.c

    r390 r391  
    13661366 
    13671367 
     1368    if (call->inv == NULL || call->inv->state < PJSIP_INV_STATE_CONFIRMED || 
     1369        call->connect_time.sec == 0)  
     1370    { 
     1371        return; 
     1372    } 
     1373 
     1374 
    13681375    /* Signaling quality */ 
    13691376    { 
     
    13911398    } 
    13921399 
    1393  
    1394     if (call->inv == NULL || call->inv->state < PJSIP_INV_STATE_CONFIRMED) { 
    1395         return; 
    1396     } 
    13971400 
    13981401    printf("   Stream #0: audio %.*s@%dHz, %dms/frame, %sB/s (%sB/s +IP hdr)\n", 
Note: See TracChangeset for help on using the changeset viewer.