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

libavfilter/vsrc_movie.c:85:1: start of procedure movie_init()
83. };
84. 
85. static av_cold int movie_init(AVFilterContext *ctx)
    ^
86. {
87.     MovieContext *movie = ctx->priv;

libavfilter/vsrc_movie.c:87:5: 
85. static av_cold int movie_init(AVFilterContext *ctx)
86. {
87.     MovieContext *movie = ctx->priv;
        ^
88.     AVInputFormat *iformat = NULL;
89.     AVCodec *codec;

libavfilter/vsrc_movie.c:88:5: 
86. {
87.     MovieContext *movie = ctx->priv;
88.     AVInputFormat *iformat = NULL;
        ^
89.     AVCodec *codec;
90.     int ret;

libavfilter/vsrc_movie.c:93:5: 
91.     int64_t timestamp;
92. 
93.     av_register_all();
        ^
94. 
95.     // Try to find the movie format (container)

libavformat/allformats.c:51:1: start of procedure av_register_all()
  49.     }
  50. 
  51. void av_register_all(void)
      ^
  52. {
  53.     static int initialized;

libavformat/allformats.c:55:9: Taking true branch
  53.     static int initialized;
  54. 
  55.     if (initialized)
              ^
  56.         return;
  57.     initialized = 1;

libavformat/allformats.c:56:9: 
  54. 
  55.     if (initialized)
  56.         return;
              ^
  57.     initialized = 1;
  58. 

libavformat/allformats.c:298:1: return from a call to av_register_all
  296.     REGISTER_PROTOCOL(LIBRTMPT,         librtmpt);
  297.     REGISTER_PROTOCOL(LIBRTMPTE,        librtmpte);
  298. }
       ^

libavfilter/vsrc_movie.c:96:15: Condition is true
94. 
95.     // Try to find the movie format (container)
96.     iformat = movie->format_name ? av_find_input_format(movie->format_name) : NULL;
                  ^
97. 
98.     movie->format_ctx = NULL;

libavfilter/vsrc_movie.c:96:5: 
94. 
95.     // Try to find the movie format (container)
96.     iformat = movie->format_name ? av_find_input_format(movie->format_name) : NULL;
        ^
97. 
98.     movie->format_ctx = NULL;

libavfilter/vsrc_movie.c:98:5: 
 96.     iformat = movie->format_name ? av_find_input_format(movie->format_name) : NULL;
 97. 
 98.     movie->format_ctx = NULL;
         ^
 99.     if ((ret = avformat_open_input(&movie->format_ctx, movie->file_name, iformat, NULL)) < 0) {
100.         av_log(ctx, AV_LOG_ERROR,

libavfilter/vsrc_movie.c:99:9: Taking false branch
 97. 
 98.     movie->format_ctx = NULL;
 99.     if ((ret = avformat_open_input(&movie->format_ctx, movie->file_name, iformat, NULL)) < 0) {
             ^
100.         av_log(ctx, AV_LOG_ERROR,
101.                "Failed to avformat_open_input '%s'\n", movie->file_name);

libavfilter/vsrc_movie.c:104:9: Taking true branch
102.         return ret;
103.     }
104.     if ((ret = avformat_find_stream_info(movie->format_ctx, NULL)) < 0)
             ^
105.         av_log(ctx, AV_LOG_WARNING, "Failed to find stream info\n");
106. 

libavfilter/vsrc_movie.c:105:9: Skipping av_log(): empty list of specs
103.     }
104.     if ((ret = avformat_find_stream_info(movie->format_ctx, NULL)) < 0)
105.         av_log(ctx, AV_LOG_WARNING, "Failed to find stream info\n");
             ^
106. 
107.     // if seeking requested, we execute it

libavfilter/vsrc_movie.c:108:9: Taking true branch
106. 
107.     // if seeking requested, we execute it
108.     if (movie->seek_point > 0) {
             ^
109.         timestamp = movie->seek_point;
110.         // add the stream start time, should it exist

libavfilter/vsrc_movie.c:109:9: 
107.     // if seeking requested, we execute it
108.     if (movie->seek_point > 0) {
109.         timestamp = movie->seek_point;
             ^
110.         // add the stream start time, should it exist
111.         if (movie->format_ctx->start_time != AV_NOPTS_VALUE) {

libavfilter/vsrc_movie.c:111:13: 
109.         timestamp = movie->seek_point;
110.         // add the stream start time, should it exist
111.         if (movie->format_ctx->start_time != AV_NOPTS_VALUE) {
                 ^
112.             if (timestamp > INT64_MAX - movie->format_ctx->start_time) {
113.                 av_log(ctx, AV_LOG_ERROR,
