]> git.sesse.net Git - vlc/blobdiff - modules/codec/xvmc/header.c
Added support for explicit HeV2 LOAS/LATM stream in packetizer.
[vlc] / modules / codec / xvmc / header.c
index 3428424bc7f45d2f96a64b0de1f8fb055040fb27..51e0f7cd9201771f0e91301250d80ee46827dc39 100644 (file)
@@ -1,4 +1,4 @@
-/* $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"
@@ -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++ )
     {