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

libavfilter/vf_yadif.c:456:1: start of procedure config_props()
454. }
455. 
456. static int config_props(AVFilterLink *link)
     ^
457. {
458.     YADIFContext *s = link->src->priv;

libavfilter/vf_yadif.c:458:5: 
456. static int config_props(AVFilterLink *link)
457. {
458.     YADIFContext *s = link->src->priv;
         ^
459. 
460.     link->time_base.num = link->src->inputs[0]->time_base.num;

libavfilter/vf_yadif.c:460:5: 
458.     YADIFContext *s = link->src->priv;
459. 
460.     link->time_base.num = link->src->inputs[0]->time_base.num;
         ^
461.     link->time_base.den = link->src->inputs[0]->time_base.den * 2;
462.     link->w             = link->src->inputs[0]->w;

libavfilter/vf_yadif.c:461:5: 
459. 
460.     link->time_base.num = link->src->inputs[0]->time_base.num;
461.     link->time_base.den = link->src->inputs[0]->time_base.den * 2;
         ^
462.     link->w             = link->src->inputs[0]->w;
463.     link->h             = link->src->inputs[0]->h;

libavfilter/vf_yadif.c:462:5: 
460.     link->time_base.num = link->src->inputs[0]->time_base.num;
461.     link->time_base.den = link->src->inputs[0]->time_base.den * 2;
462.     link->w             = link->src->inputs[0]->w;
         ^
463.     link->h             = link->src->inputs[0]->h;
464. 

libavfilter/vf_yadif.c:463:5: 
461.     link->time_base.den = link->src->inputs[0]->time_base.den * 2;
462.     link->w             = link->src->inputs[0]->w;
463.     link->h             = link->src->inputs[0]->h;
         ^
464. 
465.     if (s->mode & 1)

libavfilter/vf_yadif.c:465:9: Taking true branch
463.     link->h             = link->src->inputs[0]->h;
464. 
465.     if (s->mode & 1)
             ^
466.         link->frame_rate = av_mul_q(link->src->inputs[0]->frame_rate,
467.                                     (AVRational){2, 1});

libavfilter/vf_yadif.c:466:9: 
464. 
465.     if (s->mode & 1)
466.         link->frame_rate = av_mul_q(link->src->inputs[0]->frame_rate,
             ^
467.                                     (AVRational){2, 1});
468. 

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:469:5: 
467.                                     (AVRational){2, 1});
468. 
469.     s->csp = av_pix_fmt_desc_get(link->format);
         ^
470.     if (s->csp->comp[0].depth > 8) {
471.         s->filter_line  = filter_line_c_16bit;

libavutil/pixdesc.c:1686:1: start of procedure av_pix_fmt_desc_get()
  1684. }
  1685. 
  1686. const AVPixFmtDescriptor *av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)
        ^
  1687. {
  1688.     if (pix_fmt < 0 || pix_fmt >= AV_PIX_FMT_NB)

libavutil/pixdesc.c:1688:9: Taking false branch
  1686. const AVPixFmtDescriptor *av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)
  1687. {
  1688.     if (pix_fmt < 0 || pix_fmt >= AV_PIX_FMT_NB)
                ^
  1689.         return NULL;
  1690.     return &av_pix_fmt_descriptors[pix_fmt];

libavutil/pixdesc.c:1688:24: Taking true branch
  1686. const AVPixFmtDescriptor *av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)
  1687. {
  1688.     if (pix_fmt < 0 || pix_fmt >= AV_PIX_FMT_NB)
                               ^
  1689.         return NULL;
  1690.     return &av_pix_fmt_descriptors[pix_fmt];

libavutil/pixdesc.c:1689:9: 
  1687. {
  1688.     if (pix_fmt < 0 || pix_fmt >= AV_PIX_FMT_NB)
  1689.         return NULL;
                ^
  1690.     return &av_pix_fmt_descriptors[pix_fmt];
  1691. }

libavutil/pixdesc.c:1691:1: return from a call to av_pix_fmt_desc_get
  1689.         return NULL;
  1690.     return &av_pix_fmt_descriptors[pix_fmt];
  1691. }
        ^
  1692. 
  1693. const AVPixFmtDescriptor *av_pix_fmt_desc_next(const AVPixFmtDescriptor *prev)

libavfilter/vf_yadif.c:470:9: 
468. 
469.     s->csp = av_pix_fmt_desc_get(link->format);
470.     if (s->csp->comp[0].depth > 8) {
             ^
471.         s->filter_line  = filter_line_c_16bit;
472.         s->filter_edges = filter_edges_16bit;
