summaryrefslogtreecommitdiff
path: root/libavcodec/pnmenc.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2022-06-29 09:51:58 +0200
committerPaul B Mahol <onemda@gmail.com>2022-06-29 09:52:24 +0200
commit42d75f2faae2033b107e4ce7fa8897d69c2eed09 (patch)
tree30661dacbbb3a679052612f4b0d007a084f33321 /libavcodec/pnmenc.c
parented4bad9977b14e42b70b071be2f06dd60993f2e6 (diff)
avcodec/pnmenc: reindent
Diffstat (limited to 'libavcodec/pnmenc.c')
-rw-r--r--libavcodec/pnmenc.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libavcodec/pnmenc.c b/libavcodec/pnmenc.c
index 4afc588c08..c1820ac79e 100644
--- a/libavcodec/pnmenc.c
+++ b/libavcodec/pnmenc.c
@@ -139,13 +139,13 @@ static int pnm_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
g += p->linesize[0] / 4;
}
} else {
- ptr = p->data[0];
- linesize = p->linesize[0];
- for (i = 0; i < h; i++) {
- memcpy(bytestream, ptr, n);
- bytestream += n;
- ptr += linesize;
- }
+ ptr = p->data[0];
+ linesize = p->linesize[0];
+ for (i = 0; i < h; i++) {
+ memcpy(bytestream, ptr, n);
+ bytestream += n;
+ ptr += linesize;
+ }
}
if (avctx->pix_fmt == AV_PIX_FMT_YUV420P || avctx->pix_fmt == AV_PIX_FMT_YUV420P16BE) {