提交 de53b04b 编写于 作者: K Kostya Shishkov

Make vc1_parser.c compilable without special defines

Originally committed as revision 8914 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 22c3029d
...@@ -20,6 +20,9 @@ ...@@ -20,6 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * 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 */ /** Markers used in VC-1 AP frame data */
//@{ //@{
enum VC1Code{ enum VC1Code{
...@@ -35,7 +38,6 @@ enum VC1Code{ ...@@ -35,7 +38,6 @@ enum VC1Code{
#define IS_MARKER(x) (((x) & ~0xFF) == VC1_CODE_RES0) #define IS_MARKER(x) (((x) & ~0xFF) == VC1_CODE_RES0)
#ifndef VC1_PARSER_ONLY
/** Available Profiles */ /** Available Profiles */
//@{ //@{
enum Profile { enum Profile {
...@@ -298,4 +300,3 @@ typedef struct VC1Context{ ...@@ -298,4 +300,3 @@ typedef struct VC1Context{
int p_frame_skipped; int p_frame_skipped;
int bi_type; int bi_type;
} VC1Context; } VC1Context;
#endif
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
*/ */
#include "parser.h" #include "parser.h"
#define VC1_PARSER_ONLY
#include "vc1.h" #include "vc1.h"
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册