mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 06:48:33 +00:00
FS-7500: factor out the write_image callback and fix the vlc video endpoint to setup and match the audio params of the A leg when bridged
This commit is contained in:
1 parent
01fda5748c
commit
853873725b
10 files changed
+96
-196
No files matched your search
@@ -64,9 +64,13 @@ SWITCH_DECLARE(void) switch_img_flip(switch_image_t *img)
|
||||
vpx_img_flip((vpx_image_t *)img);
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(void) switch_img_free(switch_image_t *img)
|
||||
SWITCH_DECLARE(void) switch_img_free(switch_image_t **img)
|
||||
{
|
||||
vpx_img_free((vpx_image_t *)img);
|
||||
if (img && *img) {
|
||||
vpx_img_free((vpx_image_t *)*img);
|
||||
}
|
||||
|
||||
*img = NULL;
|
||||
}
|
||||
|
||||
/* For Emacs:
|
||||
|
||||
Reference in new issue
Block a user