libswscale/output.c:1276: error: Null Dereference
  pointer `desc` last assigned on line 1272 could be null and is dereferenced at line 1276, column 23.

libswscale/output.c:1264:1: start of procedure yuv2gbrp_full_X_c()
1262. YUV2RGBWRAPPERX(yuv2, rgb_full, rgb24_full,  AV_PIX_FMT_RGB24, 0)
1263. 
1264. static void
      ^
1265. yuv2gbrp_full_X_c(SwsContext *c, const int16_t *lumFilter,
1266.                   const int16_t **lumSrc, int lumFilterSize,

libswscale/output.c:1272:5: 
1270.                   int dstW, int y)
1271. {
1272.     const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(c->dstFormat);
          ^
1273.     int i;
1274.     int hasAlpha = 0;

libavutil/pixdesc.c:1440:1: start of procedure av_pix_fmt_desc_get()
  1438. }
  1439. 
  1440. const AVPixFmtDescriptor *av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)
        ^
  1441. {
  1442.     if (pix_fmt < 0 || pix_fmt >= AV_PIX_FMT_NB)

libavutil/pixdesc.c:1442:9: Taking false branch
  1440. const AVPixFmtDescriptor *av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)
  1441. {
  1442.     if (pix_fmt < 0 || pix_fmt >= AV_PIX_FMT_NB)
                ^
  1443.         return NULL;
  1444.     return &av_pix_fmt_descriptors[pix_fmt];

libavutil/pixdesc.c:1442:24: Taking true branch
  1440. const AVPixFmtDescriptor *av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)
  1441. {
  1442.     if (pix_fmt < 0 || pix_fmt >= AV_PIX_FMT_NB)
                               ^
  1443.         return NULL;
  1444.     return &av_pix_fmt_descriptors[pix_fmt];

libavutil/pixdesc.c:1443:9: 
  1441. {
  1442.     if (pix_fmt < 0 || pix_fmt >= AV_PIX_FMT_NB)
  1443.         return NULL;
                ^
  1444.     return &av_pix_fmt_descriptors[pix_fmt];
  1445. }

libavutil/pixdesc.c:1445:1: return from a call to av_pix_fmt_desc_get
  1443.         return NULL;
  1444.     return &av_pix_fmt_descriptors[pix_fmt];
  1445. }
        ^
  1446. 
  1447. const AVPixFmtDescriptor *av_pix_fmt_desc_next(const AVPixFmtDescriptor *prev)

libswscale/output.c:1274:5: 
1272.     const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(c->dstFormat);
1273.     int i;
1274.     int hasAlpha = 0;
          ^
1275.     uint16_t **dest16 = (uint16_t**)dest;
1276.     int SH = 22 + 7 - desc->comp[0].depth_minus1;

libswscale/output.c:1275:5: 
1273.     int i;
1274.     int hasAlpha = 0;
1275.     uint16_t **dest16 = (uint16_t**)dest;
          ^
1276.     int SH = 22 + 7 - desc->comp[0].depth_minus1;
1277. 

libswscale/output.c:1276:5: 
1274.     int hasAlpha = 0;
1275.     uint16_t **dest16 = (uint16_t**)dest;
1276.     int SH = 22 + 7 - desc->comp[0].depth_minus1;
          ^
1277. 
1278.     for (i = 0; i < dstW; i++) {
