ffmpeg.c:3471: error: Null Dereference
  pointer `intra_matrix` last assigned on line 3470 could be null and is dereferenced by call to `parse_matrix_coeffs()` at line 3471, column 5.

ffmpeg.c:3468:1: start of procedure opt_intra_matrix()
3466. }
3467. 
3468. static void opt_intra_matrix(const char *arg)
      ^
3469. {
3470.     intra_matrix = av_mallocz(sizeof(uint16_t) * 64);

ffmpeg.c:3470:5: 
3468. static void opt_intra_matrix(const char *arg)
3469. {
3470.     intra_matrix = av_mallocz(sizeof(uint16_t) * 64);
          ^
3471.     parse_matrix_coeffs(intra_matrix, arg);
3472. }

libavutil/mem.c:132:1: start of procedure av_mallocz()
  130. }
  131. 
  132. void *av_mallocz(unsigned int size)
       ^
  133. {
  134.     void *ptr = av_malloc(size);

libavutil/mem.c:134:5: 
  132. void *av_mallocz(unsigned int size)
  133. {
  134.     void *ptr = av_malloc(size);
           ^
  135.     if (ptr)
  136.         memset(ptr, 0, size);

libavutil/mem.c:42:1: start of procedure av_malloc()
    40.    linker will do it automatically */
    41. 
    42. void *av_malloc(unsigned int size)
        ^
    43. {
    44.     void *ptr;

libavutil/mem.c:50:8: Taking false branch
    48. 
    49.     /* let's disallow possible ambiguous cases */
    50.     if(size > (INT_MAX-16) )
               ^
    51.         return NULL;
    52. 

libavutil/mem.c:61:5: Skipping memalign(): method has no implementation
    59.     ((char*)ptr)[-1]= diff;
    60. #elif defined (HAVE_MEMALIGN)
    61.     ptr = memalign(16,size);
            ^
    62.     /* Why 64?
    63.        Indeed, we should align it:

libavutil/mem.c:91:5: 
    89.     ptr = malloc(size);
    90. #endif
    91.     return ptr;
            ^
    92. }
    93. 

libavutil/mem.c:92:1: return from a call to av_malloc
    90. #endif
    91.     return ptr;
    92. }
        ^
    93. 
    94. void *av_realloc(void *ptr, unsigned int size)

libavutil/mem.c:135:9: Taking false branch
  133. {
  134.     void *ptr = av_malloc(size);
  135.     if (ptr)
               ^
  136.         memset(ptr, 0, size);
  137.     return ptr;

libavutil/mem.c:137:5: 
  135.     if (ptr)
  136.         memset(ptr, 0, size);
  137.     return ptr;
           ^
  138. }
  139. 

libavutil/mem.c:138:1: return from a call to av_mallocz
  136.         memset(ptr, 0, size);
  137.     return ptr;
  138. }
       ^
  139. 
  140. char *av_strdup(const char *s)

ffmpeg.c:3471:5: 
3469. {
3470.     intra_matrix = av_mallocz(sizeof(uint16_t) * 64);
3471.     parse_matrix_coeffs(intra_matrix, arg);
          ^
3472. }
3473. 

ffmpeg.c:3445:1: start of procedure parse_matrix_coeffs()
  3443. }
  3444. 
  3445. static void parse_matrix_coeffs(uint16_t *dest, const char *str)
        ^
  3446. {
  3447.     int i;

ffmpeg.c:3448:5: 
  3446. {
  3447.     int i;
  3448.     const char *p = str;
            ^
  3449.     for(i = 0;; i++) {
  3450.         dest[i] = atoi(p);

ffmpeg.c:3449:9: 
  3447.     int i;
  3448.     const char *p = str;
  3449.     for(i = 0;; i++) {
                ^
  3450.         dest[i] = atoi(p);
  3451.         if(i == 63)

ffmpeg.c:3449:13: Loop condition is true. Entering loop body
  3447.     int i;
  3448.     const char *p = str;
  3449.     for(i = 0;; i++) {
                    ^
  3450.         dest[i] = atoi(p);
  3451.         if(i == 63)

ffmpeg.c:3450:9: 
  3448.     const char *p = str;
  3449.     for(i = 0;; i++) {
  3450.         dest[i] = atoi(p);
                ^
  3451.         if(i == 63)
  3452.             break;

ffmpeg.c:3451:12: Taking false branch
  3449.     for(i = 0;; i++) {
  3450.         dest[i] = atoi(p);
  3451.         if(i == 63)
                   ^
  3452.             break;
  3453.         p = strchr(p, ',');

ffmpeg.c:3453:9: 
  3451.         if(i == 63)
  3452.             break;
  3453.         p = strchr(p, ',');
                ^
  3454.         if(!p) {
  3455.             fprintf(stderr, "Syntax error in matrix \"%s\" at coeff %d\n", str, i);

ffmpeg.c:3454:13: Taking false branch
  3452.             break;
  3453.         p = strchr(p, ',');
  3454.         if(!p) {
                    ^
  3455.             fprintf(stderr, "Syntax error in matrix \"%s\" at coeff %d\n", str, i);
  3456.             exit(1);

ffmpeg.c:3458:9: 
  3456.             exit(1);
  3457.         }
  3458.         p++;
                ^
  3459.     }
  3460. }

ffmpeg.c:3449:17: 
  3447.     int i;
  3448.     const char *p = str;
  3449.     for(i = 0;; i++) {
                        ^
  3450.         dest[i] = atoi(p);
  3451.         if(i == 63)

ffmpeg.c:3449:13: Loop condition is true. Entering loop body
  3447.     int i;
  3448.     const char *p = str;
  3449.     for(i = 0;; i++) {
                    ^
  3450.         dest[i] = atoi(p);
  3451.         if(i == 63)

ffmpeg.c:3450:9: 
  3448.     const char *p = str;
  3449.     for(i = 0;; i++) {
  3450.         dest[i] = atoi(p);
                ^
  3451.         if(i == 63)
  3452.             break;
