[FFmpeg-devel] [PATCH] avcodec: Use preprocessors conditions

2023-01-17 Thread pawday-at-mail . ru
From: Pawday --- libavcodec/avcodec.c | 13 + libavcodec/decode.c | 5 +++-- libavcodec/encode.c | 8 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/libavcodec/avcodec.c b/libavcodec/avcodec.c index a85d3c2309..1e24bdf333 100644 --- a/libavcodec/avcodec

[FFmpeg-devel] [PATCH] avcodec: Use preprocessors conditions

2023-01-17 Thread pawday-at-mail . ru
From: Pawday Thank you Andreas Rheinhardt for review Here the fixes for runtime "else" conditions --- libavcodec/avcodec.c | 16 +++- libavcodec/decode.c | 11 --- libavcodec/encode.c | 13 - libavcodec/h264dec.c | 14 +++--- 4 files changed, 34 insert

[FFmpeg-devel] [PATCH] avcodec: Use preprocessors conditions

2023-01-17 Thread pawday-at-mail . ru
From: Pawday Thank you for showing me logic substitution issues. So, if you curious i am trying to substitute calling thread depending functions for unuptimized compiler where dead code illumination is not working and it couse linking error on my microcontroller toolchain without any thread mod