Browse Source

Reindent after r23124. Patch by Sebastian Vater <cdgs basty googlemail com>.

Originally committed as revision 23128 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Sebastian Vater Ronald S. Bultje 15 years ago
parent
commit
6d81016282
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      libavcodec/iff.c

+ 3
- 3
libavcodec/iff.c View File

@@ -131,9 +131,9 @@ int ff_cmap_read_palette(AVCodecContext *avctx, uint32_t *pal)
// If extradata is smaller than actually needed, fill the remaining with black. // If extradata is smaller than actually needed, fill the remaining with black.
count = FFMIN(avctx->extradata_size / 3, count); count = FFMIN(avctx->extradata_size / 3, count);
if (count) { if (count) {
for (i=0; i < count; i++) {
pal[i] = 0xFF000000 | AV_RB24( avctx->extradata + i*3 );
}
for (i=0; i < count; i++) {
pal[i] = 0xFF000000 | AV_RB24( avctx->extradata + i*3 );
}
} else { // Create gray-scale color palette for bps < 8 } else { // Create gray-scale color palette for bps < 8
count = 1 << avctx->bits_per_coded_sample; count = 1 << avctx->bits_per_coded_sample;




Loading…
Cancel
Save