summaryrefslogtreecommitdiff
path: root/libavformat/mtv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/mtv.c')
-rw-r--r--libavformat/mtv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mtv.c b/libavformat/mtv.c
index 564cb44762..1ebeaee8a9 100644
--- a/libavformat/mtv.c
+++ b/libavformat/mtv.c
@@ -129,7 +129,7 @@ static int mtv_read_packet(AVFormatContext *s, AVPacket *pkt)
MTVDemuxContext *mtv = s->priv_data;
ByteIOContext *pb = s->pb;
int ret;
-#ifndef WORDS_BIGENDIAN
+#if !HAVE_BIGENDIAN
int i;
#endif
@@ -150,7 +150,7 @@ static int mtv_read_packet(AVFormatContext *s, AVPacket *pkt)
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