X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fcodec%2Fxvmc%2Fheader.c;h=51e0f7cd9201771f0e91301250d80ee46827dc39;hb=bcd84fbb537ba538033f7104917cb6cfa12e9ac4;hp=3428424bc7f45d2f96a64b0de1f8fb055040fb27;hpb=3f8b63067e9a8eb55f436b7a79bcc43136b9a71c;p=vlc diff --git a/modules/codec/xvmc/header.c b/modules/codec/xvmc/header.c index 3428424bc7..51e0f7cd92 100644 --- a/modules/codec/xvmc/header.c +++ b/modules/codec/xvmc/header.c @@ -1,4 +1,4 @@ -/* $Id:$ +/* $Id$ * header.c * Copyright (C) 2000-2003 Michel Lespinasse * Copyright (C) 2003 Regis Duchesne @@ -22,11 +22,15 @@ * 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 #include -#include /* defines NULL */ -#include /* memcmp */ + +#include "xxmc-config.h" #include "mpeg2.h" #include "attributes.h" @@ -660,7 +664,6 @@ static int picture_display_ext( mpeg2dec_t * mpeg2dec ) 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++ ) {