提交 fe1fa8c8 authored 作者: matteo brancaleoni's avatar matteo brancaleoni

FS-8239 fix default value to avoid failed mod_av build on CentOS 7

上级 33ffdb34
...@@ -1118,7 +1118,7 @@ static void mod_avformat_destroy_output_context(av_file_context_t *context) ...@@ -1118,7 +1118,7 @@ static void mod_avformat_destroy_output_context(av_file_context_t *context)
static switch_status_t open_input_file(av_file_context_t *context, switch_file_handle_t *handle, const char *filename) static switch_status_t open_input_file(av_file_context_t *context, switch_file_handle_t *handle, const char *filename)
{ {
AVCodec *audio_codec = NULL; AVCodec *audio_codec = NULL;
AVCodec *video_codec; AVCodec *video_codec = NULL;
int error; int error;
int i; int i;
switch_status_t status = SWITCH_STATUS_SUCCESS; switch_status_t status = SWITCH_STATUS_SUCCESS;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论