[FFmpeg-devel] [PATCH 2/2] cosmetics: indentation
Peter Ross
pross at xvid.org
Sat Apr 2 06:59:44 CEST 2011
---
libavcodec/dpxenc.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/libavcodec/dpxenc.c b/libavcodec/dpxenc.c
index eeae189..8612858 100644
--- a/libavcodec/dpxenc.c
+++ b/libavcodec/dpxenc.c
@@ -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;
--
1.7.4.1
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110402/2f494db5/attachment.asc>
More information about the ffmpeg-devel
mailing list