Changeset 6131


Ignore:
Timestamp:
Jan 10, 2020 7:09:51 AM (12 months ago)
Author:
nanang
Message:

Re #2251: Fixed bug in memory player, wrong user data passed in invoking callback. Thanks to Marcus Froeschl for the report and the fix.

File:
1 edited

Legend:

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

    r6112 r6131  
    170170    if (event->type == PJMEDIA_EVENT_CALLBACK) { 
    171171        if (player->cb2) 
    172             (*player->cb2)(&player->base, player->base.port_data.pdata); 
     172            (*player->cb2)(&player->base, player->user_data); 
    173173    } 
    174174     
Note: See TracChangeset for help on using the changeset viewer.