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:
Anthony Minessale authored and Michael Jerris committed 2015-05-28 12:46:48 -05:00
1 parent 01fda5748c
commit 853873725b
10 files changed
+96 -196

No files matched your search

+6 -2
View File
@@ -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: