Commit 2ae0353e authored by Sam Hocevar's avatar Sam Hocevar

Make internal headers self-sufficient. Patch courtesy of Diego Biurrun.

parent cb3100c3
......@@ -24,6 +24,8 @@
#ifndef LIBMPEG2_MMX_H
#define LIBMPEG2_MMX_H
#include "attributes.h"
/*
* The type of an value that fits in an MMX register (note that long
* long constant values MUST be suffixed by LL and unsigned long long
......
......@@ -24,6 +24,8 @@
#ifndef LIBMPEG2_MPEG2CONVERT_H
#define LIBMPEG2_MPEG2CONVERT_H
#include "mpeg2.h"
mpeg2_convert_t mpeg2convert_rgb32;
mpeg2_convert_t mpeg2convert_rgb24;
mpeg2_convert_t mpeg2convert_rgb16;
......
......@@ -24,6 +24,9 @@
#ifndef LIBMPEG2_MPEG2_INTERNAL_H
#define LIBMPEG2_MPEG2_INTERNAL_H
#include "attributes.h"
#include "mpeg2.h"
#define STATE_INTERNAL_NORETURN ((mpeg2_state_t)-1)
/* macroblock modes */
......
......@@ -24,6 +24,8 @@
#ifndef LIBMPEG2_VLC_H
#define LIBMPEG2_VLC_H
#include "mpeg2_internal.h"
#define GETWORD(bit_buf,shift,bit_ptr) \
do { \
bit_buf |= ((bit_ptr[0] << 8) | bit_ptr[1]) << (shift); \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment