View Single Post
  #79  
Old 04-23-2013, 12:21 PM
gorilla.maguila gorilla.maguila is offline
Member
 
Join Date: Dec 2012
Posts: 62
gorilla.maguila is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


Checking if null pointer seems to solve the crash.


Code:
void
AMF_Reset(AMFObject *obj)
{
  int n;
  for (n = 0; n < obj->o_num; n++)
    {
      AMFProp_Reset(&obj->o_props[n]);
    }
+  //check if null pointer
+  if(obj->o_props)
    free(obj->o_props);
  obj->o_props = NULL;
  obj->o_num = 0;
}

EDITED:

Doesn't Solve it. The culprit seems to be somewhere else

Last edited by gorilla.maguila : 04-23-2013 at 06:34 PM.
Reply With Quote