libavcodec/utils.c:295: error: Null Dereference
  pointer `desc` last assigned on line 294 could be null and is dereferenced at line 295, column 24.

libavcodec/utils.c:292:1: start of procedure avcodec_align_dimensions()
290. }
291. 
292. void avcodec_align_dimensions(AVCodecContext *s, int *width, int *height)
     ^
293. {
294.     const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(s->pix_fmt);

libavcodec/utils.c:294:5: 
292. void avcodec_align_dimensions(AVCodecContext *s, int *width, int *height)
293. {
294.     const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(s->pix_fmt);
         ^
295.     int chroma_shift = desc->log2_chroma_w;
296.     int linesize_align[AV_NUM_DATA_POINTERS];

libavutil/pixdesc.c:1574:1: start of procedure av_pix_fmt_desc_get()
  1572. }
  1573. 
  1574. const AVPixFmtDescriptor *av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)
        ^
  1575. {
  1576.     if (pix_fmt < 0 || pix_fmt >= AV_PIX_FMT_NB)

libavutil/pixdesc.c:1576:9: Taking false branch
  1574. const AVPixFmtDescriptor *av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)
  1575. {
  1576.     if (pix_fmt < 0 || pix_fmt >= AV_PIX_FMT_NB)
                ^
  1577.         return NULL;
  1578.     return &av_pix_fmt_descriptors[pix_fmt];

libavutil/pixdesc.c:1576:24: Taking true branch
  1574. const AVPixFmtDescriptor *av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)
  1575. {
  1576.     if (pix_fmt < 0 || pix_fmt >= AV_PIX_FMT_NB)
                               ^
  1577.         return NULL;
  1578.     return &av_pix_fmt_descriptors[pix_fmt];

libavutil/pixdesc.c:1577:9: 
  1575. {
  1576.     if (pix_fmt < 0 || pix_fmt >= AV_PIX_FMT_NB)
  1577.         return NULL;
                ^
  1578.     return &av_pix_fmt_descriptors[pix_fmt];
  1579. }

libavutil/pixdesc.c:1579:1: return from a call to av_pix_fmt_desc_get
  1577.         return NULL;
  1578.     return &av_pix_fmt_descriptors[pix_fmt];
  1579. }
        ^
  1580. 
  1581. const AVPixFmtDescriptor *av_pix_fmt_desc_next(const AVPixFmtDescriptor *prev)

libavcodec/utils.c:295:5: 
293. {
294.     const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(s->pix_fmt);
295.     int chroma_shift = desc->log2_chroma_w;
         ^
296.     int linesize_align[AV_NUM_DATA_POINTERS];
297.     int align;
