1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

cosmetics: indentation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Peter Ross 2011-04-02 15:59:44 +11:00 committed by Michael Niedermayer
parent 4ec720059c
commit ba24c5a3d3

View File

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