1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

avcodec/proresdec: Deduplicate debug message

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2025-02-24 00:18:56 +01:00
parent fa39f07a29
commit 90ed5ddf66

View File

@@ -164,11 +164,9 @@ static av_cold int decode_init(AVCodecContext *avctx)
av_log(avctx, AV_LOG_WARNING, "Unknown prores profile %d\n", avctx->codec_tag); av_log(avctx, AV_LOG_WARNING, "Unknown prores profile %d\n", avctx->codec_tag);
} }
if (avctx->bits_per_raw_sample == 10) { av_log(avctx, AV_LOG_DEBUG,
av_log(avctx, AV_LOG_DEBUG, "Auto bitdepth precision. Use 10b decoding based on codec tag.\n"); "Auto bitdepth precision. Use %db decoding based on codec tag.\n",
} else { /* 12b */ avctx->bits_per_raw_sample);
av_log(avctx, AV_LOG_DEBUG, "Auto bitdepth precision. Use 12b decoding based on codec tag.\n");
}
ff_blockdsp_init(&ctx->bdsp); ff_blockdsp_init(&ctx->bdsp);
ret = ff_proresdsp_init(&ctx->prodsp, avctx->bits_per_raw_sample); ret = ff_proresdsp_init(&ctx->prodsp, avctx->bits_per_raw_sample);