-/* $Id:$
+/* $Id$
* header.c
* Copyright (C) 2000-2003 Michel Lespinasse <walken@zoy.org>
* Copyright (C) 2003 Regis Duchesne <hpreg@zoy.org>
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "xxmc-config.h"
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#include <vlc_common.h>
#include <inttypes.h>
-#include <stdlib.h> /* defines NULL */
-#include <string.h> /* memcmp */
+
+#include "xxmc-config.h"
#include "mpeg2.h"
#include "attributes.h"
return 1;
picture->display_offset[i].x = mpeg2dec->display_offset_x = x >> 1;
picture->display_offset[i].y = mpeg2dec->display_offset_y = y >> 1;
- }
}
for( ; i < 3; i++ )
{