From fe1fa8c8fbf1785e8c3e5320b2c837feb4e14034 Mon Sep 17 00:00:00 2001 From: matteo brancaleoni Date: Wed, 30 Sep 2015 09:23:30 +0200 Subject: [PATCH] FS-8239 fix default value to avoid failed mod_av build on CentOS 7 --- src/mod/applications/mod_av/avformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_av/avformat.c b/src/mod/applications/mod_av/avformat.c index b362217f48..0fbf9105f7 100644 --- a/src/mod/applications/mod_av/avformat.c +++ b/src/mod/applications/mod_av/avformat.c @@ -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) { AVCodec *audio_codec = NULL; - AVCodec *video_codec; + AVCodec *video_codec = NULL; int error; int i; switch_status_t status = SWITCH_STATUS_SUCCESS;