[FFmpeg-cvslog] r8886 - in trunk/libavcodec: vc1.h vc1_parser.c

kostya subversion
Fri May 4 14:31:40 CEST 2007


Author: kostya
Date: Fri May  4 14:31:40 2007
New Revision: 8886

Log:
100l to myself. Do not include stuff unneeded by parser

Modified:
   trunk/libavcodec/vc1.h
   trunk/libavcodec/vc1_parser.c

Modified: trunk/libavcodec/vc1.h
==============================================================================
--- trunk/libavcodec/vc1.h	(original)
+++ trunk/libavcodec/vc1.h	Fri May  4 14:31:40 2007
@@ -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

Modified: trunk/libavcodec/vc1_parser.c
==============================================================================
--- trunk/libavcodec/vc1_parser.c	(original)
+++ trunk/libavcodec/vc1_parser.c	Fri May  4 14:31:40 2007
@@ -26,6 +26,7 @@
  */
 #include "dsputil.h"
 #include "parser.h"
+#define VC1_PARSER_ONLY
 #include "vc1.h"
 
 /**




More information about the ffmpeg-cvslog mailing list