From d4e39cae2e250a6fb9ed3a3a5a93694f4d445165 Mon Sep 17 00:00:00 2001 From: Lynne Date: Thu, 17 Nov 2022 20:08:50 +0100 Subject: [PATCH] lavu/tx: drop requirement of input == output for in-place transforms No longer necessary. --- libavutil/tx.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libavutil/tx.h b/libavutil/tx.h index 3de2f7231b..cd772ad903 100644 --- a/libavutil/tx.h +++ b/libavutil/tx.h @@ -115,9 +115,8 @@ typedef void (*av_tx_fn)(AVTXContext *s, void *out, void *in, ptrdiff_t stride); */ enum AVTXFlags { /** - * Performs an in-place transformation on the input. The output argument - * of av_tn_fn() MUST match the input. May be unsupported or slower for some - * transform types. + * Allows for in-place transformations, where input == output. + * May be unsupported or slower for some transform types. */ AV_TX_INPLACE = 1ULL << 0,