[FFmpeg-cvslog] lavu/tx: propagate the codelet flags into the context
Lynne
git at videolan.org
Sat Sep 10 03:37:40 EEST 2022
ffmpeg | branch: master | Lynne <dev at lynne.ee> | Sat Sep 10 02:26:02 2022 +0200| [8c283e8fe631135a0c36d50f9c8d558f43cfef7b] | committer: Lynne
lavu/tx: propagate the codelet flags into the context
The field is documented as a combination of both.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8c283e8fe631135a0c36d50f9c8d558f43cfef7b
---
libavutil/tx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/tx.c b/libavutil/tx.c
index da8ebddd9a..aeb0d9dada 100644
--- a/libavutil/tx.c
+++ b/libavutil/tx.c
@@ -620,7 +620,7 @@ av_cold int ff_tx_init_subtx(AVTXContext *s, enum AVTXType type,
sctx->len = len;
sctx->inv = inv;
sctx->type = type;
- sctx->flags = flags;
+ sctx->flags = cd->flags | flags;
sctx->cd_self = cd;
s->fn[s->nb_sub] = cd->function;
More information about the ffmpeg-cvslog
mailing list