libavformat/srtdec.c:86: error: Uninitialized Value
  The value read from buffer[_] was never initialized.

libavformat/srtdec.c:86:9: 
84.     } while (!is_eol(*ptr2) && !s->pb->eof_reached && ptr-buffer<sizeof(buffer)-1);
85. 
86.     if (buffer[0] && !(res = av_new_packet(pkt, ptr-buffer))) {
            ^
87.         memcpy(pkt->data, buffer, pkt->size);
88.         pkt->flags |= AV_PKT_FLAG_KEY;
