# HG changeset patch # User kostya # Date 1178449285 0 # Node ID 270c8a34f234596ced265915f84853026d7a02b9 # Parent 194f4ced7c5041fea4405722750546b63d53bf4a Make vc1_parser.c compilable without special defines diff -r 194f4ced7c50 -r 270c8a34f234 vc1.h --- 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 diff -r 194f4ced7c50 -r 270c8a34f234 vc1_parser.c --- 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" /**