diff h264.h @ 7178:9a31b6a8ae52 libavcodec

Don't test for H264 encoding unless an encoder exists.
author astrange
date Wed, 02 Jul 2008 21:46:18 +0000
parents df0893f4fd86
children 39e81fdd8d23
line wrap: on
line diff
--- a/h264.h	Wed Jul 02 12:24:50 2008 +0000
+++ b/h264.h	Wed Jul 02 21:46:18 2008 +0000
@@ -70,6 +70,10 @@
 #endif
 #define FIELD_OR_MBAFF_PICTURE (FRAME_MBAFF || FIELD_PICTURE)
 
+#ifndef ENABLE_H264_ENCODER
+#define ENABLE_H264_ENCODER 0
+#endif
+
 /**
  * Sequence parameter set
  */