Mercurial > libavcodec.hg
diff raw.c @ 2979:bfabfdf9ce55 libavcodec
COSMETICS: tabs --> spaces, some prettyprinting
author | diego |
---|---|
date | Thu, 22 Dec 2005 01:10:11 +0000 |
parents | ef2149182f1c |
children | 0b546eab515d |
line wrap: on
line diff
--- a/raw.c Wed Dec 21 17:50:40 2005 +0000 +++ b/raw.c Thu Dec 22 01:10:11 2005 +0000 @@ -70,8 +70,8 @@ const PixelFormatTag * tags = pixelFormatTags; while (tags->pix_fmt >= 0) { if (tags->pix_fmt == fmt) - return tags->fourcc; - tags++; + return tags->fourcc; + tags++; } return 0; } @@ -115,8 +115,8 @@ } static int raw_decode(AVCodecContext *avctx, - void *data, int *data_size, - uint8_t *buf, int buf_size) + void *data, int *data_size, + uint8_t *buf, int buf_size) { RawVideoContext *context = avctx->priv_data; int bytesNeeded; @@ -167,7 +167,7 @@ } static int raw_encode(AVCodecContext *avctx, - unsigned char *frame, int buf_size, void *data) + unsigned char *frame, int buf_size, void *data) { return avpicture_layout((AVPicture *)data, avctx->pix_fmt, avctx->width, avctx->height, frame, buf_size);