Don't test for H264 encoding unless an encoder exists.
[ffmpeg.git] / libavcodec / h264.h
index 6b76420..2531e3a 100644 (file)
 #endif
 #define FIELD_OR_MBAFF_PICTURE (FRAME_MBAFF || FIELD_PICTURE)
 
+#ifndef ENABLE_H264_ENCODER
+#define ENABLE_H264_ENCODER 0
+#endif
+
 /**
  * Sequence parameter set
  */