changeset 4904:811b9d7e1d3d libavcodec

100l to myself. Do not include stuff unneeded by parser
author kostya
date Fri, 04 May 2007 12:31:40 +0000
parents 1aa320423177
children 4578b68578bb
files vc1.h vc1_parser.c
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/vc1.h	Fri May 04 03:34:38 2007 +0000
+++ b/vc1.h	Fri May 04 12:31:40 2007 +0000
@@ -35,6 +35,7 @@
 
 #define IS_MARKER(x) (((x) & ~0xFF) == VC1_CODE_RES0)
 
+#ifndef VC1_PARSER_ONLY
 /** Available Profiles */
 //@{
 enum Profile {
@@ -362,3 +363,4 @@
     int p_frame_skipped;
     int bi_type;
 } VC1Context;
+#endif
--- a/vc1_parser.c	Fri May 04 03:34:38 2007 +0000
+++ b/vc1_parser.c	Fri May 04 12:31:40 2007 +0000
@@ -26,6 +26,7 @@
  */
 #include "dsputil.h"
 #include "parser.h"
+#define VC1_PARSER_ONLY
 #include "vc1.h"
 
 /**