libswscale/swscale.c:94: error: Null Dereference
  pointer `desc` last assigned on line 90 could be null and is dereferenced at line 94, column 27.

libswscale/swscale.c:86:1: start of procedure hScale16To19_c()
84. 
85. 
86. static void hScale16To19_c(SwsContext *c, int16_t *_dst, int dstW,
    ^
87.                            const uint8_t *_src, const int16_t *filter,
88.                            const int32_t *filterPos, int filterSize)

libswscale/swscale.c:90:5: 
88.                            const int32_t *filterPos, int filterSize)
89. {
90.     const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(c->srcFormat);
        ^
91.     int i;
92.     int32_t *dst        = (int32_t *) _dst;

libavutil/pixdesc.c:1433:1: start of procedure av_pix_fmt_desc_get()
  1431. }
  1432. 
  1433. const AVPixFmtDescriptor *av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)
        ^
  1434. {
  1435.     if (pix_fmt < 0 || pix_fmt >= AV_PIX_FMT_NB)

libavutil/pixdesc.c:1435:9: Taking false branch
  1433. const AVPixFmtDescriptor *av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)
  1434. {
  1435.     if (pix_fmt < 0 || pix_fmt >= AV_PIX_FMT_NB)
                ^
  1436.         return NULL;
  1437.     return &av_pix_fmt_descriptors[pix_fmt];

libavutil/pixdesc.c:1435:24: Taking true branch
  1433. const AVPixFmtDescriptor *av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)
  1434. {
  1435.     if (pix_fmt < 0 || pix_fmt >= AV_PIX_FMT_NB)
                               ^
  1436.         return NULL;
  1437.     return &av_pix_fmt_descriptors[pix_fmt];

libavutil/pixdesc.c:1436:9: 
  1434. {
  1435.     if (pix_fmt < 0 || pix_fmt >= AV_PIX_FMT_NB)
  1436.         return NULL;
                ^
  1437.     return &av_pix_fmt_descriptors[pix_fmt];
  1438. }

libavutil/pixdesc.c:1438:1: return from a call to av_pix_fmt_desc_get
  1436.         return NULL;
  1437.     return &av_pix_fmt_descriptors[pix_fmt];
  1438. }
        ^
  1439. 
  1440. const AVPixFmtDescriptor *av_pix_fmt_desc_next(const AVPixFmtDescriptor *prev)

libswscale/swscale.c:92:5: 
90.     const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(c->srcFormat);
91.     int i;
92.     int32_t *dst        = (int32_t *) _dst;
        ^
93.     const uint16_t *src = (const uint16_t *) _src;
94.     int bits            = desc->comp[0].depth_minus1;

libswscale/swscale.c:93:5: 
91.     int i;
92.     int32_t *dst        = (int32_t *) _dst;
93.     const uint16_t *src = (const uint16_t *) _src;
        ^
94.     int bits            = desc->comp[0].depth_minus1;
95.     int sh              = bits - 4;

libswscale/swscale.c:94:5: 
92.     int32_t *dst        = (int32_t *) _dst;
93.     const uint16_t *src = (const uint16_t *) _src;
94.     int bits            = desc->comp[0].depth_minus1;
        ^
95.     int sh              = bits - 4;
96. 
