diff options
author | irungentoo <irungentoo@gmail.com> | 2015-12-02 22:36:45 -0500 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2015-12-02 22:36:45 -0500 |
commit | 9c6476933161411967ff49d8311038ae31e1b8a8 (patch) | |
tree | 156e72cd7fbaddb0078ab06bd57603b44902a2c6 | |
parent | f40a60575f0c437fde4f8318ddf81bf01218c9ab (diff) | |
parent | 96a7b7b4fced3180d6ae02e93f1610ed36fcaee0 (diff) |
Merge branch 'master' of https://github.com/mannol/toxcore
-rw-r--r-- | toxav/toxav.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/toxav/toxav.c b/toxav/toxav.c index 3d4004cf..448ce3f8 100644 --- a/toxav/toxav.c +++ b/toxav/toxav.c | |||
@@ -286,12 +286,10 @@ bool toxav_call(ToxAV *av, uint32_t friend_number, uint32_t audio_bit_rate, uint | |||
286 | goto END; | 286 | goto END; |
287 | } | 287 | } |
288 | 288 | ||
289 | ToxAVCall *call = call_new(av, friend_number, error); | 289 | ToxAVCall *call = call_new(av, friend_number, &rc); |
290 | 290 | ||
291 | if (call == NULL) { | 291 | if (call == NULL) |
292 | rc = TOXAV_ERR_CALL_MALLOC; | ||
293 | goto END; | 292 | goto END; |
294 | } | ||
295 | 293 | ||
296 | call->audio_bit_rate = audio_bit_rate; | 294 | call->audio_bit_rate = audio_bit_rate; |
297 | call->video_bit_rate = video_bit_rate; | 295 | call->video_bit_rate = video_bit_rate; |