libavformat/hdsenc.c:98: error: Buffer Overrun L2
  Offset: [`os->nb_extra_packets`, 2] Size: 2.

libavformat/hdsenc.c:78:1: <Offset trace>
76. } HDSContext;
77. 
78. static int parse_header(OutputStream *os, const uint8_t *buf, int buf_size)
    ^
79. {
80.     if (buf_size < 13)

libavformat/hdsenc.c:78:1: Parameter `os->nb_extra_packets`
76. } HDSContext;
77. 
78. static int parse_header(OutputStream *os, const uint8_t *buf, int buf_size)
    ^
79. {
80.     if (buf_size < 13)

libavformat/hdsenc.c:78:1: <Length trace>
76. } HDSContext;
77. 
78. static int parse_header(OutputStream *os, const uint8_t *buf, int buf_size)
    ^
79. {
80.     if (buf_size < 13)

libavformat/hdsenc.c:78:1: Parameter `os->extra_packets[*]`
76. } HDSContext;
77. 
78. static int parse_header(OutputStream *os, const uint8_t *buf, int buf_size)
    ^
79. {
80.     if (buf_size < 13)

libavformat/hdsenc.c:98:20: Array access: Offset: [os->nb_extra_packets, 2] Size: 2
 96.             if (!os->extra_packets[os->nb_extra_packets])
 97.                 return AVERROR(ENOMEM);
 98.             memcpy(os->extra_packets[os->nb_extra_packets], buf, size);
                        ^
 99.             os->nb_extra_packets++;
100.         } else if (type == 0x12) {
