libavfilter/vsrc_movie.c:106: error: Null Dereference
  pointer `movie->format_ctx` last assigned on line 93 could be null and is dereferenced at line 106, column 13.

libavfilter/vsrc_movie.c:80:1: start of procedure movie_init()
78. };
79. 
80. static int movie_init(AVFilterContext *ctx)
    ^
81. {
82.     MovieContext *movie = ctx->priv;

libavfilter/vsrc_movie.c:82:5: 
80. static int movie_init(AVFilterContext *ctx)
81. {
82.     MovieContext *movie = ctx->priv;
        ^
83.     AVInputFormat *iformat = NULL;
84.     AVCodec *codec;

libavfilter/vsrc_movie.c:83:5: 
81. {
82.     MovieContext *movie = ctx->priv;
83.     AVInputFormat *iformat = NULL;
        ^
84.     AVCodec *codec;
85.     int ret;

libavfilter/vsrc_movie.c:88:5: 
86.     int64_t timestamp;
87. 
88.     av_register_all();
        ^
89. 
90.     // Try to find the movie format (container)

libavformat/allformats.c:39:1: start of procedure av_register_all()
  37.     if(CONFIG_##X##_PROTOCOL) av_register_protocol2(&ff_##x##_protocol, sizeof(ff_##x##_protocol)); }
  38. 
  39. void av_register_all(void)
      ^
  40. {
  41.     static int initialized;

libavformat/allformats.c:43:9: Taking true branch
  41.     static int initialized;
  42. 
  43.     if (initialized)
              ^
  44.         return;
  45.     initialized = 1;

libavformat/allformats.c:44:9: 
  42. 
  43.     if (initialized)
  44.         return;
              ^
  45.     initialized = 1;
  46. 

libavformat/allformats.c:250:1: return from a call to av_register_all
  248.     REGISTER_PROTOCOL (TCP, tcp);
  249.     REGISTER_PROTOCOL (UDP, udp);
  250. }
       ^

libavfilter/vsrc_movie.c:91:15: Condition is true
89. 
90.     // Try to find the movie format (container)
91.     iformat = movie->format_name ? av_find_input_format(movie->format_name) : NULL;
                  ^
92. 
93.     movie->format_ctx = NULL;

libavfilter/vsrc_movie.c:91:5: 
89. 
90.     // Try to find the movie format (container)
91.     iformat = movie->format_name ? av_find_input_format(movie->format_name) : NULL;
        ^
92. 
93.     movie->format_ctx = NULL;

libavfilter/vsrc_movie.c:93:5: 
91.     iformat = movie->format_name ? av_find_input_format(movie->format_name) : NULL;
92. 
93.     movie->format_ctx = NULL;
        ^
94.     if ((ret = av_open_input_file(&movie->format_ctx, movie->file_name, iformat, 0, NULL)) < 0) {
95.         av_log(ctx, AV_LOG_ERROR,

libavfilter/vsrc_movie.c:94:9: Taking false branch
92. 
93.     movie->format_ctx = NULL;
94.     if ((ret = av_open_input_file(&movie->format_ctx, movie->file_name, iformat, 0, NULL)) < 0) {
            ^
95.         av_log(ctx, AV_LOG_ERROR,
96.                "Failed to av_open_input_file '%s'\n", movie->file_name);

libavfilter/vsrc_movie.c:99:9: Taking true branch
 97.         return ret;
 98.     }
 99.     if ((ret = av_find_stream_info(movie->format_ctx)) < 0)
             ^
100.         av_log(ctx, AV_LOG_WARNING, "Failed to find stream info\n");
101. 

libavfilter/vsrc_movie.c:100:9: Skipping av_log(): empty list of specs
 98.     }
 99.     if ((ret = av_find_stream_info(movie->format_ctx)) < 0)
100.         av_log(ctx, AV_LOG_WARNING, "Failed to find stream info\n");
             ^
101. 
102.     // if seeking requested, we execute it

libavfilter/vsrc_movie.c:103:9: Taking true branch
101. 
102.     // if seeking requested, we execute it
103.     if (movie->seek_point > 0) {
             ^
104.         timestamp = movie->seek_point;
105.         // add the stream start time, should it exist

libavfilter/vsrc_movie.c:104:9: 
102.     // if seeking requested, we execute it
103.     if (movie->seek_point > 0) {
104.         timestamp = movie->seek_point;
             ^
105.         // add the stream start time, should it exist
106.         if (movie->format_ctx->start_time != AV_NOPTS_VALUE) {

libavfilter/vsrc_movie.c:106:13: 
104.         timestamp = movie->seek_point;
105.         // add the stream start time, should it exist
106.         if (movie->format_ctx->start_time != AV_NOPTS_VALUE) {
                 ^
107.             if (timestamp > INT64_MAX - movie->format_ctx->start_time) {
108.                 av_log(ctx, AV_LOG_ERROR,
