This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 1b7483ddddb3978fa707c44b149932dcdb8af3ea
Author:     James Almer <[email protected]>
AuthorDate: Thu Mar 26 11:04:03 2026 -0300
Commit:     James Almer <[email protected]>
CommitDate: Fri Mar 27 21:00:19 2026 -0300

    avfilter/vf_lcevc: workaround for unknown initial dimensions
    
    This is not enough as filters down the chain may get wrong dimensions
    
    Signed-off-by: James Almer <[email protected]>
---
 libavfilter/vf_lcevc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavfilter/vf_lcevc.c b/libavfilter/vf_lcevc.c
index c6719ef2a0..b8d84803c7 100644
--- a/libavfilter/vf_lcevc.c
+++ b/libavfilter/vf_lcevc.c
@@ -277,8 +277,8 @@ static int config_props(AVFilterLink *outlink)
     AVFilterLink *inlink = ctx->inputs[0];
     LCEVCContext *lcevc = ctx->priv;
 
-    outlink->w = lcevc->w = inlink->w * 2 / 
FFMAX(inlink->sample_aspect_ratio.den, 1);
-    outlink->h = lcevc->h = inlink->h * 2 / 
FFMAX(inlink->sample_aspect_ratio.den, 1);
+    outlink->w = lcevc->w = inlink->w * 2;
+    outlink->h = lcevc->h = inlink->h * 2;
     outlink->sample_aspect_ratio = (AVRational) { 0, 1 };
 
     return 0;

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to