aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaoya OYAMA <naoya.oyama@gmail.com>2011-08-01 00:17:45 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-08-01 00:58:49 +0200
commit7747a091f57b1e995a524854b397925a38d82cfb (patch)
tree9246176b4e54867f705749e4618bbc47678aa073
parent335bbe424f6d21b5540230db8dadd4f42751d260 (diff)
downloadffmpeg-7747a091f57b1e995a524854b397925a38d82cfb.tar.gz
Cosmetics: Fix indentation.
-rw-r--r--libavformat/spdifenc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavformat/spdifenc.c b/libavformat/spdifenc.c
index 04d4845bb8..84372f82da 100644
--- a/libavformat/spdifenc.c
+++ b/libavformat/spdifenc.c
@@ -518,13 +518,13 @@ static int spdif_write_packet(struct AVFormatContext *s, AVPacket *pkt)
}
if (ctx->extra_bswap ^ (ctx->spdif_flags & SPDIF_FLAG_BIGENDIAN)) {
- avio_write(s->pb, ctx->out_buf, ctx->out_bytes & ~1);
+ avio_write(s->pb, ctx->out_buf, ctx->out_bytes & ~1);
} else {
- av_fast_malloc(&ctx->buffer, &ctx->buffer_size, ctx->out_bytes + FF_INPUT_BUFFER_PADDING_SIZE);
- if (!ctx->buffer)
- return AVERROR(ENOMEM);
- ff_spdif_bswap_buf16((uint16_t *)ctx->buffer, (uint16_t *)ctx->out_buf, ctx->out_bytes >> 1);
- avio_write(s->pb, ctx->buffer, ctx->out_bytes & ~1);
+ av_fast_malloc(&ctx->buffer, &ctx->buffer_size, ctx->out_bytes + FF_INPUT_BUFFER_PADDING_SIZE);
+ if (!ctx->buffer)
+ return AVERROR(ENOMEM);
+ ff_spdif_bswap_buf16((uint16_t *)ctx->buffer, (uint16_t *)ctx->out_buf, ctx->out_bytes >> 1);
+ avio_write(s->pb, ctx->buffer, ctx->out_bytes & ~1);
}
/* a final lone byte has to be MSB aligned */