ffmpeg | branch: master | Lynne <d...@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;

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to