avcodec/decode: don't try to apply LCEVC enhancements if some other kind of post processing is active

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2026-03-27 19:34:11 -03:00
parent d6a22cda38
commit d069ba22ff

View file

@ -1711,7 +1711,7 @@ static int attach_post_process_data(AVCodecContext *avctx, AVFrame *frame)
FFLCEVCFrame *frame_ctx;
int ret;
if (!dc->lcevc.width || !dc->lcevc.height) {
if (fdd->post_process || !dc->lcevc.width || !dc->lcevc.height) {
dc->lcevc.frame = 0;
return 0;
}