Mercurial > libavcodec.hg
comparison 4xm.c @ 1478:e0402982c1a0 libavcodec
Fix compilation with ccc
author | mellum |
---|---|
date | Mon, 22 Sep 2003 20:29:58 +0000 |
parents | 37dc515e3dac |
children | b1a0fc3ad09f |
comparison
equal
deleted
inserted
replaced
1477:afc7baa19b62 | 1478:e0402982c1a0 |
---|---|
549 const int width= f->avctx->width; | 549 const int width= f->avctx->width; |
550 const int height= f->avctx->height; | 550 const int height= f->avctx->height; |
551 uint16_t *dst= (uint16_t*)f->current_picture.data[0]; | 551 uint16_t *dst= (uint16_t*)f->current_picture.data[0]; |
552 const int stride= f->current_picture.linesize[0]>>1; | 552 const int stride= f->current_picture.linesize[0]>>1; |
553 const int bitstream_size= get32(buf); | 553 const int bitstream_size= get32(buf); |
554 const int token_count __attribute((unused)) = get32(buf + bitstream_size + 8); | 554 const int token_count __attribute__((unused)) = get32(buf + bitstream_size + 8); |
555 int prestream_size= 4*get32(buf + bitstream_size + 4); | 555 int prestream_size= 4*get32(buf + bitstream_size + 4); |
556 uint8_t *prestream= buf + bitstream_size + 12; | 556 uint8_t *prestream= buf + bitstream_size + 12; |
557 | 557 |
558 if(prestream_size + bitstream_size + 12 != length) | 558 if(prestream_size + bitstream_size + 12 != length) |
559 fprintf(stderr, "size missmatch %d %d %d\n", prestream_size, bitstream_size, length); | 559 fprintf(stderr, "size missmatch %d %d %d\n", prestream_size, bitstream_size, length); |