aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-02-01 10:56:14 +0100
committerAnton Khirnov <anton@khirnov.net>2012-02-02 22:23:17 +0100
commite15e2a6d2a886aa9944ac9798687104c829d1541 (patch)
tree1acd7acbb67d8829aa28f08a2fa66a67a13af901
parent24947d4988012f1f0fd467c83418615adc11c3e8 (diff)
downloadffmpeg-e15e2a6d2a886aa9944ac9798687104c829d1541.tar.gz
libx264: fix indentation.
-rw-r--r--libavcodec/libx264.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index 12882808bd..2183e2020f 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -147,12 +147,12 @@ static int X264_frame(AVCodecContext *ctx, uint8_t *buf,
}
do {
- if (x264_encoder_encode(x4->enc, &nal, &nnal, frame? &x4->pic: NULL, &pic_out) < 0)
- return -1;
+ if (x264_encoder_encode(x4->enc, &nal, &nnal, frame? &x4->pic: NULL, &pic_out) < 0)
+ return -1;
- bufsize = encode_nals(ctx, buf, bufsize, nal, nnal, 0);
- if (bufsize < 0)
- return -1;
+ bufsize = encode_nals(ctx, buf, bufsize, nal, nnal, 0);
+ if (bufsize < 0)
+ return -1;
} while (!bufsize && !frame && x264_encoder_delayed_frames(x4->enc));
/* FIXME: libx264 now provides DTS, but AVFrame doesn't have a field for it. */