Mercurial > libavcodec.hg
comparison vp3.c @ 11360:dedeca07ba3b libavcodec
Maybe fix gcc 2.95
author | conrad |
---|---|
date | Thu, 04 Mar 2010 09:25:42 +0000 |
parents | 1ea249b4c6e7 |
children | 3fa1224ae130 |
comparison
equal
deleted
inserted
replaced
11359:471c370c6b05 | 11360:dedeca07ba3b |
---|---|
545 * superblock (all planes) */ | 545 * superblock (all planes) */ |
546 s->total_num_coded_frags = 0; | 546 s->total_num_coded_frags = 0; |
547 memset(s->macroblock_coding, MODE_COPY, s->macroblock_count); | 547 memset(s->macroblock_coding, MODE_COPY, s->macroblock_count); |
548 | 548 |
549 for (plane = 0; plane < 3; plane++) { | 549 for (plane = 0; plane < 3; plane++) { |
550 int sb_start = (int[]){ 0, s->u_superblock_start, s->v_superblock_start }[plane]; | 550 int sb_start = (int[3]){ 0, s->u_superblock_start, s->v_superblock_start }[plane]; |
551 int sb_end = sb_start + (plane ? s->c_superblock_count : s->y_superblock_count); | 551 int sb_end = sb_start + (plane ? s->c_superblock_count : s->y_superblock_count); |
552 int num_coded_frags = 0; | 552 int num_coded_frags = 0; |
553 | 553 |
554 for (i = sb_start; i < sb_end; i++) { | 554 for (i = sb_start; i < sb_end; i++) { |
555 | 555 |