mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-03 05:10:03 +02:00
avcodec/pnmenc: reindent
This commit is contained in:
parent
ed4bad9977
commit
42d75f2faa
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user