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

kostya subversion
Sun May 6 13:01:25 CEST 2007


Author: kostya
Date: Sun May  6 13:01:25 2007
New Revision: 8914

Log:
Make vc1_parser.c compilable without special defines

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

Modified: trunk/libavcodec/vc1.h
==============================================================================
--- trunk/libavcodec/vc1.h	(original)
+++ trunk/libavcodec/vc1.h	Sun May  6 13:01:25 2007
@@ -20,6 +20,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include "avcodec.h"
+#include "mpegvideo.h"
+
 /** Markers used in VC-1 AP frame data */
 //@{
 enum VC1Code{
@@ -35,7 +38,6 @@ enum VC1Code{
 
 #define IS_MARKER(x) (((x) & ~0xFF) == VC1_CODE_RES0)
 
-#ifndef VC1_PARSER_ONLY
 /** Available Profiles */
 //@{
 enum Profile {
@@ -298,4 +300,3 @@ 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	Sun May  6 13:01:25 2007
@@ -26,7 +26,6 @@
  */
 
 #include "parser.h"
-#define VC1_PARSER_ONLY
 #include "vc1.h"
 
 /**




More information about the ffmpeg-cvslog mailing list