Skip to content

Commit

Permalink
[mod_av] fix interrupt callback is not passed down to the hls context…
Browse files Browse the repository at this point in the history
… in the first open_input
  • Loading branch information
seven1240 authored and andywolk committed Oct 23, 2021
1 parent 7cd3bf5 commit 565550f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mod/applications/mod_av/avformat.c
Original file line number Diff line number Diff line change
Expand Up @@ -1162,6 +1162,8 @@ static switch_status_t open_input_file(av_file_context_t *context, switch_file_h
if ((error = avformat_open_input(&context->fc, filename, NULL, NULL)) < 0) {
char ebuf[255] = "";
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Could not open input file '%s' (error '%s')\n", filename, get_error_text(error, ebuf, sizeof(ebuf)));
avformat_free_context(context->fc);
context->fc = NULL;
switch_goto_status(SWITCH_STATUS_FALSE, err);
}

Expand Down

0 comments on commit 565550f

Please sign in to comment.