ffmpeg.c:1452: error: Uninitialized Value
  The value read from got_output was never initialized.

ffmpeg.c:1452:39: 
1450. 
1451.     //while we have more to decode or while the decoder did output something on EOF
1452.     while (avpkt.size > 0 || (!pkt && got_output)) {
                                            ^
1453.         uint8_t *data_buf, *decoded_data_buf;
1454.         int data_size, decoded_data_size;
