mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 13:58:32 +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
@@ -738,7 +738,7 @@ static switch_status_t switch_h264_destroy(switch_codec_t *codec)
|
||||
av_free(context->decoder_ctx);
|
||||
}
|
||||
|
||||
if (context->img) switch_img_free(context->img);
|
||||
switch_img_free(&context->img);
|
||||
|
||||
if (context->encoder_ctx) {
|
||||
if (avcodec_is_open(context->encoder_ctx)) avcodec_close(context->encoder_ctx);
|
||||
|
||||
Reference in new issue
Block a user