Skip to content

Commit

Permalink
rtpproxy: fix uninitialzied warning
Browse files Browse the repository at this point in the history
  • Loading branch information
razvancrainea committed Nov 22, 2017
1 parent f07c5b9 commit 98807f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/rtpproxy/rtpproxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -4452,6 +4452,8 @@ static int w_rtpproxy_recording(struct sip_msg *msg, str *callid,
goto error;
}

media_start = media_stop = 0;

if (destination) {
/* if name is specified, we need to change the command */
cmd = 'C';
Expand Down

0 comments on commit 98807f3

Please sign in to comment.