libavfilter/vsrc_color.c:120: error: Null Dereference
  pointer `pix_desc` last assigned on line 118 could be null and is dereferenced at line 120, column 19.

libavfilter/vsrc_color.c:112:1: start of procedure color_config_props()
110. }
111. 
112. static int color_config_props(AVFilterLink *inlink)
     ^
113. {
114.     AVFilterContext *ctx = inlink->src;

libavfilter/vsrc_color.c:114:5: 
112. static int color_config_props(AVFilterLink *inlink)
113. {
114.     AVFilterContext *ctx = inlink->src;
         ^
115.     ColorContext *color = ctx->priv;
116.     uint8_t rgba_color[4];

libavfilter/vsrc_color.c:115:5: 
113. {
114.     AVFilterContext *ctx = inlink->src;
115.     ColorContext *color = ctx->priv;
         ^
116.     uint8_t rgba_color[4];
117.     int is_packed_rgba;

libavfilter/vsrc_color.c:118:5: 
116.     uint8_t rgba_color[4];
117.     int is_packed_rgba;
118.     const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(inlink->format);
         ^
119. 
120.     color->hsub = pix_desc->log2_chroma_w;

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/vsrc_color.c:120:5: 
118.     const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(inlink->format);
119. 
120.     color->hsub = pix_desc->log2_chroma_w;
         ^
121.     color->vsub = pix_desc->log2_chroma_h;
122. 
