mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user