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

libswscale/swscale.c:110:1: start of procedure hScale16To15_c()
108. }
109. 
110. static void hScale16To15_c(SwsContext *c, int16_t *dst, int dstW,
     ^
111.                            const uint8_t *_src, const int16_t *filter,
112.                            const int32_t *filterPos, int filterSize)

libswscale/swscale.c:114:5: 
112.                            const int32_t *filterPos, int filterSize)
113. {
114.     const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(c->srcFormat);
         ^
115.     int i;
116.     const uint16_t *src = (const uint16_t *) _src;

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:116:5: 
114.     const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(c->srcFormat);
115.     int i;
116.     const uint16_t *src = (const uint16_t *) _src;
         ^
117.     int sh              = desc->comp[0].depth_minus1;
118. 

libswscale/swscale.c:117:5: 
115.     int i;
116.     const uint16_t *src = (const uint16_t *) _src;
117.     int sh              = desc->comp[0].depth_minus1;
         ^
118. 
119.     for (i = 0; i < dstW; i++) {
