diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-09-08 12:49:28 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-09-11 00:26:34 +0200 |
commit | 7b0b9a25ed11625ae75f1fa47db41744578675fe (patch) | |
tree | e560a5bcf719201ef10c48c5cb619d83395fabae /libavcodec/proresdec2.c | |
parent | 489d96ca020036b1f423556c0f5f19cad5461ca8 (diff) | |
download | ffmpeg-7b0b9a25ed11625ae75f1fa47db41744578675fe.tar.gz |
avcodec/proresdsp: Pass necessary parameter directly
Only avctx->bits_per_raw_sample is used.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/proresdec2.c')
-rw-r--r-- | libavcodec/proresdec2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/proresdec2.c b/libavcodec/proresdec2.c index 9297860946..2219971b85 100644 --- a/libavcodec/proresdec2.c +++ b/libavcodec/proresdec2.c @@ -172,7 +172,7 @@ static av_cold int decode_init(AVCodecContext *avctx) } ff_blockdsp_init(&ctx->bdsp); - ret = ff_proresdsp_init(&ctx->prodsp, avctx); + ret = ff_proresdsp_init(&ctx->prodsp, avctx->bits_per_raw_sample); if (ret < 0) { av_log(avctx, AV_LOG_ERROR, "Fail to init proresdsp for bits per raw sample %d\n", avctx->bits_per_raw_sample); return ret; |