summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/vc1.h2
-rw-r--r--libavcodec/vc1_parser.c1
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"
/**