libavformat/electronicarts.c:518: error: Uninitialized Value
  The value read from num_samples was never initialized.

libavformat/electronicarts.c:518:5: 
516.     unsigned int chunk_type, chunk_size;
517.     int ret = 0, packet_read = 0, key = 0;
518.     int av_uninit(num_samples);
         ^
519. 
520.     while (!packet_read) {
