From 58683d27435f0137f69ba42654036d13da6cfd82 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Fri, 4 May 2007 12:31:40 +0000 Subject: [PATCH] 100l to myself. Do not include stuff unneeded by parser Originally committed as revision 8886 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vc1.h | 2 ++ libavcodec/vc1_parser.c | 1 + 2 files changed, 3 insertions(+) diff --git a/libavcodec/vc1.h b/libavcodec/vc1.h index af0d04acb..d1aff169a 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 1476f9c22..786c0e69d 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" /** -- 2.11.0