diff options
author | Måns Rullgård <mans@mansr.com> | 2010-07-10 22:09:01 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-07-10 22:09:01 +0000 |
commit | e6b22522c94cfccda97018e52ab65da8c69d8a56 (patch) | |
tree | 4ecb09a4ae3f895d70ab882d841347d943eef0a2 /libavformat/smacker.c | |
parent | 6b7917ba3ba16cbbcc81d9e007b26f82dd06400f (diff) | |
download | ffmpeg-e6b22522c94cfccda97018e52ab65da8c69d8a56.tar.gz |
bswap: change ME to NE in macro names
Other parts of FFmpeg use NE (native endian) rather than ME (machine).
This makes it consistent.
Originally committed as revision 24169 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/smacker.c')
-rw-r--r-- | libavformat/smacker.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/smacker.c b/libavformat/smacker.c index 898dbd2ded..8a3a26e6ab 100644 --- a/libavformat/smacker.c +++ b/libavformat/smacker.c @@ -213,10 +213,10 @@ static int smacker_read_header(AVFormatContext *s, AVFormatParameters *ap) av_free(smk->frm_flags); return AVERROR(EIO); } - ((int32_t*)st->codec->extradata)[0] = le2me_32(smk->mmap_size); - ((int32_t*)st->codec->extradata)[1] = le2me_32(smk->mclr_size); - ((int32_t*)st->codec->extradata)[2] = le2me_32(smk->full_size); - ((int32_t*)st->codec->extradata)[3] = le2me_32(smk->type_size); + ((int32_t*)st->codec->extradata)[0] = le2ne_32(smk->mmap_size); + ((int32_t*)st->codec->extradata)[1] = le2ne_32(smk->mclr_size); + ((int32_t*)st->codec->extradata)[2] = le2ne_32(smk->full_size); + ((int32_t*)st->codec->extradata)[3] = le2ne_32(smk->type_size); smk->curstream = -1; smk->nextpos = url_ftell(pb); |