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;