Browse Source

cosmetics: indentation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.8
Peter Ross Michael Niedermayer 14 years ago
parent
commit
ba24c5a3d3
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      libavcodec/dpxenc.c

+ 5
- 5
libavcodec/dpxenc.c View File

@@ -136,11 +136,11 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size,
switch(s->bits_per_component) {
case 8:
case 16:
size = avpicture_layout((AVPicture*)data, avctx->pix_fmt,
avctx->width, avctx->height,
buf + HEADER_SIZE, buf_size - HEADER_SIZE);
if (size < 0)
return size;
size = avpicture_layout((AVPicture*)data, avctx->pix_fmt,
avctx->width, avctx->height,
buf + HEADER_SIZE, buf_size - HEADER_SIZE);
if (size < 0)
return size;
break;
case 10:
size = avctx->height * avctx->width * 4;


Loading…
Cancel
Save