summaryrefslogtreecommitdiff
path: root/libavcodec/dnxhdenc.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-12-02 19:28:20 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-12-02 19:28:20 +0000
commitc20d3ce2554e72f8831da1aa8cadb37860610a71 (patch)
tree3a08b45b88dcc854594bbe4e71843fed0fdff768 /libavcodec/dnxhdenc.c
parentcc3a9708571fcc8315e35f07ba47fa831919887b (diff)
indentation
Originally committed as revision 11134 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dnxhdenc.c')
-rw-r--r--libavcodec/dnxhdenc.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c
index fc4a559c2a..619e7680c7 100644
--- a/libavcodec/dnxhdenc.c
+++ b/libavcodec/dnxhdenc.c
@@ -172,19 +172,19 @@ static int dnxhd_encode_init(AVCodecContext *avctx)
int i, index;
if (avctx->width == 1920 && avctx->height == 1080) {
- if (avctx->flags & CODEC_FLAG_INTERLACED_DCT) {
- if (avctx->bit_rate == 120000000)
- ctx->cid = 1242;
- else if (avctx->bit_rate == 185000000)
- ctx->cid = 1243;
- } else {
- if (avctx->bit_rate == 120000000)
- ctx->cid = 1237;
- else if (avctx->bit_rate == 185000000)
- ctx->cid = 1238;
- else if (avctx->bit_rate == 36000000)
- ctx->cid = 1253;
- }
+ if (avctx->flags & CODEC_FLAG_INTERLACED_DCT) {
+ if (avctx->bit_rate == 120000000)
+ ctx->cid = 1242;
+ else if (avctx->bit_rate == 185000000)
+ ctx->cid = 1243;
+ } else {
+ if (avctx->bit_rate == 120000000)
+ ctx->cid = 1237;
+ else if (avctx->bit_rate == 185000000)
+ ctx->cid = 1238;
+ else if (avctx->bit_rate == 36000000)
+ ctx->cid = 1253;
+ }
} else if (avctx->width == 1280 && avctx->height == 720 &&
!(avctx->flags & CODEC_FLAG_INTERLACED_DCT)) {
if (avctx->bit_rate == 90000000)