Changeset 6132


Ignore:
Timestamp:
Jan 10, 2020 7:26:36 AM (9 months ago)
Author:
nanang
Message:

Re #2251: Fixed bug in memory capture, wrong user data passed in invoking callback.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/mem_capture.c

    r6112 r6132  
    177177    if (event->type == PJMEDIA_EVENT_CALLBACK) { 
    178178        if (rec->cb2) 
    179             (*rec->cb2)(&rec->base, rec->base.port_data.pdata); 
     179            (*rec->cb2)(&rec->base, rec->user_data); 
    180180    } 
    181181     
Note: See TracChangeset for help on using the changeset viewer.