[FFmpeg-cvslog] avcodec/pnmenc: reindent
Paul B Mahol
git at videolan.org
Wed Jun 29 10:50:46 EEST 2022
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Jun 29 09:51:58 2022 +0200| [42d75f2faae2033b107e4ce7fa8897d69c2eed09] | committer: Paul B Mahol
avcodec/pnmenc: reindent
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=42d75f2faae2033b107e4ce7fa8897d69c2eed09
---
libavcodec/pnmenc.c | 14 +++++++-------
1 file 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) {
More information about the ffmpeg-cvslog
mailing list