diff options
author | Diego Biurrun <diego@biurrun.de> | 2005-12-22 01:10:11 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2005-12-22 01:10:11 +0000 |
commit | bb270c0896b39e1ae9277355e3c120ed3feb64a3 (patch) | |
tree | fc2fc2b1216d19acb3879abb6ea5a3b400f43fe4 /libavcodec/raw.c | |
parent | 50827fcf44f34521df4708cdb633809b56fb9df3 (diff) | |
download | ffmpeg-bb270c0896b39e1ae9277355e3c120ed3feb64a3.tar.gz |
COSMETICS: tabs --> spaces, some prettyprinting
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/raw.c')
-rw-r--r-- | libavcodec/raw.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/raw.c b/libavcodec/raw.c index 68e46c092d..11adafcee6 100644 --- a/libavcodec/raw.c +++ b/libavcodec/raw.c @@ -70,8 +70,8 @@ unsigned int avcodec_pix_fmt_to_codec_tag(enum PixelFormat fmt) 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 void flip(AVCodecContext *avctx, AVPicture * picture){ } 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_init_encoder(AVCodecContext *avctx) } 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); |