diff options
author | Clément Bœsch <u@pkh.me> | 2017-03-24 13:18:24 +0100 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2017-03-24 13:18:24 +0100 |
commit | e809c2e40d7a75d706dd1d74fd640b0bc0909863 (patch) | |
tree | b10eb5f1c9f998f5bd911ffebbff1940f2202b1a | |
parent | 2a69724fd5e0d380d201a955269622239288e6d5 (diff) | |
parent | 47756f51fe836959ffa5c6e2baeacbd71e150069 (diff) | |
download | ffmpeg-e809c2e40d7a75d706dd1d74fd640b0bc0909863.tar.gz |
Merge commit '47756f51fe836959ffa5c6e2baeacbd71e150069'
* commit '47756f51fe836959ffa5c6e2baeacbd71e150069':
dnxhdenc: Drop pointless, commented-out debug output
Merged-by: Clément Bœsch <u@pkh.me>
-rw-r--r-- | libavcodec/dnxhdenc.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c index 60bea83c1f..33f25fb4ac 100644 --- a/libavcodec/dnxhdenc.c +++ b/libavcodec/dnxhdenc.c @@ -934,9 +934,6 @@ static int dnxhd_encode_rdo(AVCodecContext *avctx, DNXHDEncContext *ctx) if (bits > ctx->frame_bits) break; } - // ff_dlog(ctx->m.avctx, - // "lambda %d, up %u, down %u, bits %d, frame %d\n", - // lambda, last_higher, last_lower, bits, ctx->frame_bits); if (end) { if (bits > ctx->frame_bits) return AVERROR(EINVAL); @@ -965,7 +962,6 @@ static int dnxhd_encode_rdo(AVCodecContext *avctx, DNXHDEncContext *ctx) down_step = 1<<LAMBDA_FRAC_BITS; } } - //ff_dlog(ctx->m.avctx, "out lambda %d\n", lambda); ctx->lambda = lambda; return 0; } @@ -994,10 +990,6 @@ static int dnxhd_find_qscale(DNXHDEncContext *ctx) if (bits > ctx->frame_bits) break; } - // ff_dlog(ctx->m.avctx, - // "%d, qscale %d, bits %d, frame %d, higher %d, lower %d\n", - // ctx->m.avctx->frame_number, qscale, bits, ctx->frame_bits, - // last_higher, last_lower); if (bits < ctx->frame_bits) { if (qscale == 1) return 1; @@ -1026,7 +1018,6 @@ static int dnxhd_find_qscale(DNXHDEncContext *ctx) return AVERROR(EINVAL); } } - //ff_dlog(ctx->m.avctx, "out qscale %d\n", qscale); ctx->qscale = qscale; return 0; } |