aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mtv.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-07-26 12:20:04 +0000
committerMåns Rullgård <mans@mansr.com>2009-07-26 12:20:04 +0000
commit63613fe615160671b394a232c1a3736319a6a8ec (patch)
tree4e85211d5388b91b47facca7700512abdd36446d /libavformat/mtv.c
parent84c04e25196a59694abec3ae17af476994bc5ce8 (diff)
downloadffmpeg-63613fe615160671b394a232c1a3736319a6a8ec.tar.gz
Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
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