mirror of https://git.ffmpeg.org/ffmpeg.git
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;
|
g += p->linesize[0] / 4;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
ptr = p->data[0];
|
ptr = p->data[0];
|
||||||
linesize = p->linesize[0];
|
linesize = p->linesize[0];
|
||||||
for (i = 0; i < h; i++) {
|
for (i = 0; i < h; i++) {
|
||||||
memcpy(bytestream, ptr, n);
|
memcpy(bytestream, ptr, n);
|
||||||
bytestream += n;
|
bytestream += n;
|
||||||
ptr += linesize;
|
ptr += linesize;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (avctx->pix_fmt == AV_PIX_FMT_YUV420P || avctx->pix_fmt == AV_PIX_FMT_YUV420P16BE) {
|
if (avctx->pix_fmt == AV_PIX_FMT_YUV420P || avctx->pix_fmt == AV_PIX_FMT_YUV420P16BE) {
|
||||||
|
|
Loading…
Reference in New Issue