Mercurial > libavcodec.hg
comparison 4xm.c @ 5083:ce36118abbbb libavcodec
rename attribute_unused to av_unused and moves its declaration to common.h
patch by Carl Eugen Hoyos cehoyos chez ag or at
original thread: [FFmpeg-devel] [PATCH] attribute_unused -> av_unused
date: 05/29/2007 01:23 PM
author | benoit |
---|---|
date | Wed, 30 May 2007 09:32:25 +0000 |
parents | 28ebdd244a07 |
children | af68496af656 |
comparison
equal
deleted
inserted
replaced
5082:176ac8353f48 | 5083:ce36118abbbb |
---|---|
553 const int width= f->avctx->width; | 553 const int width= f->avctx->width; |
554 const int height= f->avctx->height; | 554 const int height= f->avctx->height; |
555 uint16_t *dst= (uint16_t*)f->current_picture.data[0]; | 555 uint16_t *dst= (uint16_t*)f->current_picture.data[0]; |
556 const int stride= f->current_picture.linesize[0]>>1; | 556 const int stride= f->current_picture.linesize[0]>>1; |
557 const unsigned int bitstream_size= get32(buf); | 557 const unsigned int bitstream_size= get32(buf); |
558 const int token_count attribute_unused = get32(buf + bitstream_size + 8); | 558 const int token_count av_unused = get32(buf + bitstream_size + 8); |
559 unsigned int prestream_size= 4*get32(buf + bitstream_size + 4); | 559 unsigned int prestream_size= 4*get32(buf + bitstream_size + 4); |
560 uint8_t *prestream= buf + bitstream_size + 12; | 560 uint8_t *prestream= buf + bitstream_size + 12; |
561 | 561 |
562 if(prestream_size + bitstream_size + 12 != length | 562 if(prestream_size + bitstream_size + 12 != length |
563 || bitstream_size > (1<<26) | 563 || bitstream_size > (1<<26) |