Browse Source

Fix indentation.

Originally committed as revision 25780 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Reimar Döffinger 14 years ago
parent
commit
18d761a1b1
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      libavcodec/xan.c

+ 4
- 4
libavcodec/xan.c View File

@@ -519,10 +519,10 @@ static int xan_decode_frame(AVCodecContext *avctx,
memcpy(s->current_frame.data[1], s->palettes + s->cur_palette * AVPALETTE_COUNT, AVPALETTE_SIZE);
} else {
AVPaletteControl *palette_control = avctx->palctrl;
palette_control->palette_changed = 0;
memcpy(s->current_frame.data[1], palette_control->palette,
AVPALETTE_SIZE);
s->current_frame.palette_has_changed = 1;
palette_control->palette_changed = 0;
memcpy(s->current_frame.data[1], palette_control->palette,
AVPALETTE_SIZE);
s->current_frame.palette_has_changed = 1;
}

s->buf = buf;


Loading…
Cancel
Save