aboutsummaryrefslogtreecommitdiff
path: root/libavformat/smacker.c
diff options
context:
space:
mode:
authorMåns Rullgård2010-07-10 22:12:30 +0000
committerMåns Rullgård2010-07-10 22:12:30 +0000
commit8fc0162ac44f3e60798552ca6d19387be95cae4c (patch)
tree443f7c684a3a8be0e9b70d67a91b8572bfa1ddd2 /libavformat/smacker.c
parente6b22522c94cfccda97018e52ab65da8c69d8a56 (diff)
Add av_ prefix to bswap macros
Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/smacker.c')
-rw-r--r--libavformat/smacker.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/smacker.c b/libavformat/smacker.c
index 8a3a26e6ab..89e9e35df0 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] = 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);
+ ((int32_t*)st->codec->extradata)[0] = av_le2ne32(smk->mmap_size);
+ ((int32_t*)st->codec->extradata)[1] = av_le2ne32(smk->mclr_size);
+ ((int32_t*)st->codec->extradata)[2] = av_le2ne32(smk->full_size);
+ ((int32_t*)st->codec->extradata)[3] = av_le2ne32(smk->type_size);
smk->curstream = -1;
smk->nextpos = url_ftell(pb);