ffmpeg.c:502: error: Uninitialized Value
  The value read from best was never initialized.

ffmpeg.c:502:13: 
500.         }
501.         if(best_dist){
502.             av_log(st->codec, AV_LOG_WARNING, "Requested sampling rate unsupported using closest supported (%d)\n", best);
                 ^
503.         }
504.         st->codec->sample_rate= best;
