diff mtv.c @ 5108:44a0fab134a9 libavformat

Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
author mru
date Sun, 26 Jul 2009 12:20:04 +0000
parents 9b8a6dd0c5d6
children 65f73f11261c
line wrap: on
line diff
--- a/mtv.c	Fri Jul 24 21:28:44 2009 +0000
+++ b/mtv.c	Sun Jul 26 12:20:04 2009 +0000
@@ -129,7 +129,7 @@
     MTVDemuxContext *mtv = s->priv_data;
     ByteIOContext *pb = s->pb;
     int ret;
-#ifndef WORDS_BIGENDIAN
+#if !HAVE_BIGENDIAN
     int i;
 #endif
 
@@ -150,7 +150,7 @@
         if(ret != mtv->img_segment_size)
             return AVERROR(EIO);
 
-#ifndef WORDS_BIGENDIAN
+#if !HAVE_BIGENDIAN
 
         /* pkt->data is GGGRRRR BBBBBGGG
          * and we need RRRRRGGG GGGBBBBB