ffmpeg | branch: master | Paul B Mahol <one...@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) {

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to