From d87d5025aaf5ca784db5be942a392002d6a533b3 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sat, 5 Sep 2009 11:22:36 +0000 Subject: prettyprinting cosmetics Originally committed as revision 19767 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/v210enc.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'libavcodec/v210enc.c') diff --git a/libavcodec/v210enc.c b/libavcodec/v210enc.c index 9a90d243ed..f69854efd4 100644 --- a/libavcodec/v210enc.c +++ b/libavcodec/v210enc.c @@ -48,7 +48,8 @@ static av_cold int encode_init(AVCodecContext *avctx) return 0; } -static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data) +static int encode_frame(AVCodecContext *avctx, unsigned char *buf, + int buf_size, void *data) { const AVFrame *pic = data; int aligned_width = ((avctx->width + 47) / 48) * 48; @@ -101,9 +102,9 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size, pdst += stride; memset(p, 0, pdst - p); p = pdst; - y += pic->linesize[0]/2 - avctx->width; - u += pic->linesize[1]/2 - avctx->width/2; - v += pic->linesize[2]/2 - avctx->width/2; + y += pic->linesize[0] / 2 - avctx->width; + u += pic->linesize[1] / 2 - avctx->width / 2; + v += pic->linesize[2] / 2 - avctx->width / 2; } return p - buf; -- cgit v1.2.3