Message ID | AS8P250MB07447857DD7296F3C9C095858F95A@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM |
---|---|
State | Accepted |
Commit | 577dd7b762c9d81b9886ec967b91a7b03f459f23 |
Headers | show |
Series | [FFmpeg-devel,1/2] avcodec/libjxlenc: Don't refer to decoder in comments | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
On 12/21/23 18:01, Andreas Rheinhardt wrote: > Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> > --- > libavcodec/libjxlenc.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/libavcodec/libjxlenc.c b/libavcodec/libjxlenc.c > index d707f3a61b..055c9b7bb1 100644 > --- a/libavcodec/libjxlenc.c > +++ b/libavcodec/libjxlenc.c > @@ -85,8 +85,8 @@ static float quality_to_distance(float quality) > } > Both of these LGTM. - Leo Izen (Traneptora)
diff --git a/libavcodec/libjxlenc.c b/libavcodec/libjxlenc.c index d707f3a61b..055c9b7bb1 100644 --- a/libavcodec/libjxlenc.c +++ b/libavcodec/libjxlenc.c @@ -85,8 +85,8 @@ static float quality_to_distance(float quality) } /** - * Initalize the decoder on a per-frame basis. All of these need to be set - * once each time the decoder is reset, which it must be each frame to make + * Initalize the encoder on a per-frame basis. All of these need to be set + * once each time the encoder is reset, which it must be each frame to make * the image2 muxer work. * * @return 0 upon success, negative on failure. @@ -104,7 +104,7 @@ static int libjxl_init_jxl_encoder(AVCodecContext *avctx) return AVERROR_EXTERNAL; } - /* This needs to be set each time the decoder is reset */ + /* This needs to be set each time the encoder is reset */ if (JxlEncoderSetParallelRunner(ctx->encoder, JxlThreadParallelRunner, ctx->runner) != JXL_ENC_SUCCESS) { av_log(avctx, AV_LOG_ERROR, "Failed to set JxlThreadParallelRunner\n"); @@ -446,7 +446,7 @@ static av_cold int libjxl_encode_close(AVCodecContext *avctx) ctx->runner = NULL; /* - * destroying the decoder also frees + * destroying the encoder also frees * ctx->options so we don't need to */ if (ctx->encoder)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/libjxlenc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)