diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2007-05-04 12:31:40 +0000 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2007-05-04 12:31:40 +0000 |
commit | 58683d27435f0137f69ba42654036d13da6cfd82 (patch) | |
tree | 09664e7d8bf1b975e6c5beccb13f51ed27dbe4d1 | |
parent | f9eada03db0e9d3d4e67b28d9f02836d0ce1d522 (diff) | |
download | ffmpeg-58683d27435f0137f69ba42654036d13da6cfd82.tar.gz |
100l to myself. Do not include stuff unneeded by parser
Originally committed as revision 8886 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/vc1.h | 2 | ||||
-rw-r--r-- | libavcodec/vc1_parser.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/vc1.h b/libavcodec/vc1.h index af0d04acba..d1aff169a6 100644 --- a/libavcodec/vc1.h +++ b/libavcodec/vc1.h @@ -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 diff --git a/libavcodec/vc1_parser.c b/libavcodec/vc1_parser.c index 1476f9c229..786c0e69dd 100644 --- a/libavcodec/vc1_parser.c +++ b/libavcodec/vc1_parser.c @@ -26,6 +26,7 @@ */ #include "dsputil.h" #include "parser.h" +#define VC1_PARSER_ONLY #include "vc1.h" /** |