Commit 705d2053 authored by rbultje's avatar rbultje

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



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@23128 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e4e86a43
...@@ -131,9 +131,9 @@ int ff_cmap_read_palette(AVCodecContext *avctx, uint32_t *pal) ...@@ -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++) { for (i=0; i < count; i++) {
pal[i] = 0xFF000000 | AV_RB24( avctx->extradata + i*3 ); 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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment