comparison 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
comparison
equal deleted inserted replaced
7177:a82e7d9c8c34 7178:9a31b6a8ae52
67 #define FIELD_PICTURE 0 67 #define FIELD_PICTURE 0
68 #undef IS_INTERLACED 68 #undef IS_INTERLACED
69 #define IS_INTERLACED(mb_type) 0 69 #define IS_INTERLACED(mb_type) 0
70 #endif 70 #endif
71 #define FIELD_OR_MBAFF_PICTURE (FRAME_MBAFF || FIELD_PICTURE) 71 #define FIELD_OR_MBAFF_PICTURE (FRAME_MBAFF || FIELD_PICTURE)
72
73 #ifndef ENABLE_H264_ENCODER
74 #define ENABLE_H264_ENCODER 0
75 #endif
72 76
73 /** 77 /**
74 * Sequence parameter set 78 * Sequence parameter set
75 */ 79 */
76 typedef struct SPS{ 80 typedef struct SPS{