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
2014-11-25 15:01:52 -06:00
committed by Michael Jerris
parent 01fda5748c
commit 853873725b
10 changed files with 96 additions and 196 deletions

View File

@@ -599,7 +599,7 @@ static switch_status_t switch_h264_destroy(switch_codec_t *codec)
}
if (context->decoder) {
if (context->img) switch_img_free(context->img);
switch_img_free(&context->img);
context->decoder->Uninitialize();
WelsDestroyDecoder(context->decoder);
}