diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-05-14 14:07:50 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-05-14 14:07:50 +0000 |
commit | e36d79c837cbf47de524763fc1cbd49655e5f1a6 (patch) | |
tree | 84c9de3bd57a7d402006da7d6fd1640172c0369c /libavcodec/4xm.c | |
parent | 37c26ae9ff72765c5470dba121408987e1f37273 (diff) | |
download | ffmpeg-e36d79c837cbf47de524763fc1cbd49655e5f1a6.tar.gz |
Change some leftover __attribute__((unused)) and __attribute__((used)) to
attribute_unused and attribute_used respectively to ease compiling on non-gcc.
Originally committed as revision 9024 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/4xm.c')
-rw-r--r-- | libavcodec/4xm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c index 6889dbc4b2..a32a98674b 100644 --- a/libavcodec/4xm.c +++ b/libavcodec/4xm.c @@ -555,7 +555,7 @@ static int decode_i_frame(FourXContext *f, uint8_t *buf, int length){ uint16_t *dst= (uint16_t*)f->current_picture.data[0]; const int stride= f->current_picture.linesize[0]>>1; const unsigned int bitstream_size= get32(buf); - const int token_count __attribute__((unused)) = get32(buf + bitstream_size + 8); + const int token_count attribute_unused = get32(buf + bitstream_size + 8); unsigned int prestream_size= 4*get32(buf + bitstream_size + 4); uint8_t *prestream= buf + bitstream_size + 12; |