diff options
author | Mans Rullgard <mans@mansr.com> | 2011-02-14 01:10:45 +0300 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-02-14 01:10:45 +0300 |
commit | aabc2682fcb70417abda0e78d27a425269a82fc8 (patch) | |
tree | 9bbc86f9b0cef671e305514cf35adb77b66be7b0 /libavformat/asfdec.c | |
parent | fbb6b49dabc3398440c6dfa838aa090a7a6ebc0d (diff) |
asfdec: fix build for big endian targets
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavformat/asfdec.c')
-rw-r--r-- | libavformat/asfdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index 2d43ac2f54..8d413e415a 100644 --- a/libavformat/asfdec.c +++ b/libavformat/asfdec.c @@ -362,6 +362,7 @@ static int asf_read_stream_properties(AVFormatContext *s, int64_t size) /* This code assumes that extradata contains only palette */ /* This is true for all paletted codecs implemented in ffmpeg */ if (st->codec->extradata_size && (st->codec->bits_per_coded_sample <= 8)) { + int av_unused i; st->codec->palctrl = av_mallocz(sizeof(AVPaletteControl)); #if HAVE_BIGENDIAN for (i = 0; i < FFMIN(st->codec->extradata_size, AVPALETTE_SIZE)/4; i++) |