OSDN Git Service

100l to myself. Do not include stuff unneeded by parser
authorKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 4 May 2007 12:31:40 +0000 (12:31 +0000)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 4 May 2007 12:31:40 +0000 (12:31 +0000)
Originally committed as revision 8886 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/vc1.h
libavcodec/vc1_parser.c

index af0d04a..d1aff16 100644 (file)
@@ -35,6 +35,7 @@ enum VC1Code{
 
 #define IS_MARKER(x) (((x) & ~0xFF) == VC1_CODE_RES0)
 
+#ifndef VC1_PARSER_ONLY
 /** Available Profiles */
 //@{
 enum Profile {
@@ -362,3 +363,4 @@ typedef struct VC1Context{
     int p_frame_skipped;
     int bi_type;
 } VC1Context;
+#endif
index 1476f9c..786c0e6 100644 (file)
@@ -26,6 +26,7 @@
  */
 #include "dsputil.h"
 #include "parser.h"
+#define VC1_PARSER_ONLY
 #include "vc1.h"
 
 /**