libavfilter/vf_yadif.c:480: error: Null Dereference
  pointer `s->csp` last assigned on line 479 could be null and is dereferenced at line 480, column 9.

libavfilter/vf_yadif.c:466:1: start of procedure config_props()
464. }
465. 
466. static int config_props(AVFilterLink *link)
     ^
467. {
468.     YADIFContext *s = link->src->priv;

libavfilter/vf_yadif.c:468:5: 
466. static int config_props(AVFilterLink *link)
467. {
468.     YADIFContext *s = link->src->priv;
         ^
469. 
470.     link->time_base.num = link->src->inputs[0]->time_base.num;

libavfilter/vf_yadif.c:470:5: 
468.     YADIFContext *s = link->src->priv;
469. 
470.     link->time_base.num = link->src->inputs[0]->time_base.num;
         ^
471.     link->time_base.den = link->src->inputs[0]->time_base.den * 2;
472.     link->w             = link->src->inputs[0]->w;

libavfilter/vf_yadif.c:471:5: 
469. 
470.     link->time_base.num = link->src->inputs[0]->time_base.num;
471.     link->time_base.den = link->src->inputs[0]->time_base.den * 2;
         ^
472.     link->w             = link->src->inputs[0]->w;
473.     link->h             = link->src->inputs[0]->h;

libavfilter/vf_yadif.c:472:5: 
470.     link->time_base.num = link->src->inputs[0]->time_base.num;
471.     link->time_base.den = link->src->inputs[0]->time_base.den * 2;
472.     link->w             = link->src->inputs[0]->w;
         ^
473.     link->h             = link->src->inputs[0]->h;
474. 

libavfilter/vf_yadif.c:473:5: 
471.     link->time_base.den = link->src->inputs[0]->time_base.den * 2;
472.     link->w             = link->src->inputs[0]->w;
473.     link->h             = link->src->inputs[0]->h;
         ^
474. 
475.     if (s->mode & 1)

libavfilter/vf_yadif.c:475:9: Taking true branch
473.     link->h             = link->src->inputs[0]->h;
474. 
475.     if (s->mode & 1)
             ^
476.         link->frame_rate = av_mul_q(link->src->inputs[0]->frame_rate,
477.                                     (AVRational){2, 1});

libavfilter/vf_yadif.c:476:9: 
474. 
475.     if (s->mode & 1)
476.         link->frame_rate = av_mul_q(link->src->inputs[0]->frame_rate,
             ^
477.                                     (AVRational){2, 1});
478. 

libavutil/rational.c:79:1: start of procedure av_mul_q()
  77. }
  78. 
  79. AVRational av_mul_q(AVRational b, AVRational c)
      ^
  80. {
  81.     av_reduce(&b.num, &b.den,

libavutil/rational.c:81:5: Skipping av_reduce(): empty list of specs
  79. AVRational av_mul_q(AVRational b, AVRational c)
  80. {
  81.     av_reduce(&b.num, &b.den,
          ^
  82.                b.num * (int64_t) c.num,
  83.                b.den * (int64_t) c.den, INT_MAX);

libavutil/rational.c:84:5: 
  82.                b.num * (int64_t) c.num,
  83.                b.den * (int64_t) c.den, INT_MAX);
  84.     return b;
          ^
  85. }
  86. 

libavutil/rational.c:85:1: return from a call to av_mul_q
  83.                b.den * (int64_t) c.den, INT_MAX);
  84.     return b;
  85. }
      ^
  86. 
  87. AVRational av_div_q(AVRational b, AVRational c)

libavfilter/vf_yadif.c:479:5: 
477.                                     (AVRational){2, 1});
478. 
479.     s->csp = av_pix_fmt_desc_get(link->format);
         ^
480.     if (s->csp->comp[0].depth > 8) {
481.         s->filter_line  = filter_line_c_16bit;

libavutil/pixdesc.c:1901:1: start of procedure av_pix_fmt_desc_get()
  1899. }
  1900. 
  1901. const AVPixFmtDescriptor *av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)
        ^
  1902. {
  1903.     if (pix_fmt < 0 || pix_fmt >= AV_PIX_FMT_NB)

libavutil/pixdesc.c:1903:9: Taking false branch
  1901. const AVPixFmtDescriptor *av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)
  1902. {
  1903.     if (pix_fmt < 0 || pix_fmt >= AV_PIX_FMT_NB)
                ^
  1904.         return NULL;
  1905.     return &av_pix_fmt_descriptors[pix_fmt];

libavutil/pixdesc.c:1903:24: Taking true branch
  1901. const AVPixFmtDescriptor *av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)
  1902. {
  1903.     if (pix_fmt < 0 || pix_fmt >= AV_PIX_FMT_NB)
                               ^
  1904.         return NULL;
  1905.     return &av_pix_fmt_descriptors[pix_fmt];

libavutil/pixdesc.c:1904:9: 
  1902. {
  1903.     if (pix_fmt < 0 || pix_fmt >= AV_PIX_FMT_NB)
  1904.         return NULL;
                ^
  1905.     return &av_pix_fmt_descriptors[pix_fmt];
  1906. }

libavutil/pixdesc.c:1906:1: return from a call to av_pix_fmt_desc_get
  1904.         return NULL;
  1905.     return &av_pix_fmt_descriptors[pix_fmt];
  1906. }
        ^
  1907. 
  1908. const AVPixFmtDescriptor *av_pix_fmt_desc_next(const AVPixFmtDescriptor *prev)

libavfilter/vf_yadif.c:480:9: 
478. 
479.     s->csp = av_pix_fmt_desc_get(link->format);
480.     if (s->csp->comp[0].depth > 8) {
             ^
481.         s->filter_line  = filter_line_c_16bit;
482.         s->filter_edges = filter_edges_16bit;
