rl2: cosmetics, reformat
This commit is contained in:
parent
3c6e5a840c
commit
6781b5315e
@ -135,6 +135,7 @@ static av_cold int rl2_decode_init(AVCodecContext *avctx)
|
||||
Rl2Context *s = avctx->priv_data;
|
||||
int back_size;
|
||||
int i;
|
||||
|
||||
s->avctx = avctx;
|
||||
avctx->pix_fmt = AV_PIX_FMT_PAL8;
|
||||
|
||||
@ -191,7 +192,8 @@ static int rl2_decode_frame(AVCodecContext *avctx,
|
||||
}
|
||||
|
||||
/** run length decode */
|
||||
rl2_rle_decode(s,buf,buf_size,s->frame.data[0],s->frame.linesize[0],s->video_base);
|
||||
rl2_rle_decode(s, buf, buf_size, s->frame.data[0], s->frame.linesize[0],
|
||||
s->video_base);
|
||||
|
||||
/** make the palette available on the way out */
|
||||
memcpy(s->frame.data[1], s->palette, AVPALETTE_SIZE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user