title: How to compile ffmpeg and x264 with thread support for android?
body: <p>i want to compile both x264 and ffmpeg with thread support for ANDROID .FFmpeg and x264 didn't compile with thread support even after enabling enable-pthreads and  enable-threads respectively.</p>
  
  <p>Both the config.h contains #define HAVE_THREAD 0 and #define HAVE_PTHREADS 0</p>
  
  <p>1.How to compile with thread support.
  2.Second question is that when i increase the gop size from 1 to some other value encoder returns 0 for certain subsequent frames.This causes a delay more than 3 to 5 seconds in vide playing</p>