changeset 4927:270c8a34f234 libavcodec

Make vc1_parser.c compilable without special defines
author kostya
date Sun, 06 May 2007 11:01:25 +0000
parents 194f4ced7c50
children 7ec5c2e20271
files vc1.h vc1_parser.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/vc1.h	Sun May 06 10:58:32 2007 +0000
+++ b/vc1.h	Sun May 06 11:01:25 2007 +0000
@@ -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 @@
 
 #define IS_MARKER(x) (((x) & ~0xFF) == VC1_CODE_RES0)
 
-#ifndef VC1_PARSER_ONLY
 /** Available Profiles */
 //@{
 enum Profile {
@@ -298,4 +300,3 @@
     int p_frame_skipped;
     int bi_type;
 } VC1Context;
-#endif
--- a/vc1_parser.c	Sun May 06 10:58:32 2007 +0000
+++ b/vc1_parser.c	Sun May 06 11:01:25 2007 +0000
@@ -26,7 +26,6 @@
  */
 
 #include "parser.h"
-#define VC1_PARSER_ONLY
 #include "vc1.h"
 
 /**