Aug 2023, Martin Storsjö wrote:
>
>> On Thu, 27 Jul 2023, L. E. Segovia wrote:
>>
>>> Including winsock2.h without WIN32_LEAN_AND_MEAN causes bzlib.h to parse
>>> as nonsense, due to an instance of #define char small in rpcndr.h
>>> (include
Thanks Martin for the suggestion, I've implemented it in this version.
As for the changes to os_support.c, the removal was intended to avoid
duplicating the logic that already exists in os_support.h. I've kept
it in this version for consistency.
L. E. Segovia (1):
conf
Including winsock2.h or windows.h without WIN32_LEAN_AND_MEAN cause
bzlib.h to parse as nonsense, due to an instance of #define char small
in rpcndr.h.
See:
https://stackoverflow.com/a/27794577
Signed-off-by: L. E. Segovia
---
compat/atomics/win32/stdatomic.h | 1 -
compat/w32pthreads.h
Ping for review.
amyspark
On 29/07/2023 16:00, L. E. Segovia wrote:
> audiotoolbox.m uses CoreAudio APIs that are only available in macOS.
> The existing CoreAudio framework check is already enough for this case
> (as CoreAudio.h does not exist for the iDevices), however, it was never
Now adapted to insert WIN32_LEAN_AND_MEAN for MinGW and Cygwin too.
L. E. Segovia (1):
configure: Set WIN32_LEAN_AND_MEAN at configure time
compat/atomics/win32/stdatomic.h | 1 -
compat/w32pthreads.h | 1 -
configure| 3 +++
libavdevice/dshow_capture.h
Including winsock2.h or windows.h without WIN32_LEAN_AND_MEAN cause
bzlib.h to parse as nonsense, due to an instance of #define char small
in rpcndr.h.
See:
https://stackoverflow.com/a/27794577
Reviewed-by: Martin Storsjö
Signed-off-by: L. E. Segovia
---
compat/atomics/win32/stdatomic.h | 1
unresolved externals
make: *** [/c/Users/Amalia/Desktop/ffmpeg/ffbuild/library.mak:119:
libavformat/avformat-59.dll] Error 96
The proposed patchset comprehensively converts all instances of ARCH_FOO,
CONFIG_FOO, INLINE_FOO and EXTERNAL_FOO to the equivalent preprocessor
guards.
L. E. Segovia (4
Continuation of e42aaaf92a4b0c88d60acc12df64c81d0887c26f
Signed-off-by: L. E. Segovia
---
fftools/ffprobe.c | 22 ++
fftools/opt_common.c| 18 +-
libavformat/rtmpproto.c | 24 ++--
3 files changed, 53 insertions(+), 11 deletions
Continuation of 40e6575aa3eed64cd32bf28c00ae57edc5acb25a
Co-authored-by: Nirbheek Chauhan
Signed-off-by: L. E. Segovia
---
libavcodec/x86/dcadsp_init.c | 2 +
libavcodec/x86/fdctdsp_init.c| 2 +
libavcodec/x86/flacdsp_init.c| 8 +-
libavcodec/x86/hevcdsp_init.c
Continuation of 40e6575aa3eed64cd32bf28c00ae57edc5acb25a
Signed-off-by: L. E. Segovia
---
libavcodec/x86/vc1dsp_init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/x86/vc1dsp_init.c b/libavcodec/x86/vc1dsp_init.c
index bc63933e83..65fc28ea35 100644
--- a
Continuation of 40e6575aa3eed64cd32bf28c00ae57edc5acb25a
Signed-off-by: L. E. Segovia
---
libavcodec/x86/aacencdsp_init.c| 2 ++
libavcodec/x86/aacpsdsp_init.c | 2 ++
libavcodec/x86/ac3dsp_init.c | 4
libavcodec/x86/audiodsp_init.c | 2
c/x86/dcadsp_init.c#L40-L41
[2]:
https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/x86/flacdsp.asm#L315-L318
[3]:
https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/x86/flacdsp.asm#L323-L326
On 01/11/2022 19:28, andreas.rheinhardt at outlook.com (Andreas
Rheinhardt) wrote:
> L. E.
mlpdsp_init and
vf_convolution_init
L. E. Segovia (5):
all: Replace if (ARCH_FOO) checks by #if ARCH_FOO, part 2
avcodec/x86/hevcdsp_init: Fix indentation after the ARCH_FOO changes
all: Replace if (CONFIG_FOO) checks by #if CONFIG_FOO
all: Guard if (INLINE*) checks with #if HAVE_INLINE_ASM
Continuation of 40e6575aa3eed64cd32bf28c00ae57edc5acb25a
Co-authored-by: Nirbheek Chauhan
Signed-off-by: L. E. Segovia
---
libavcodec/x86/fdctdsp_init.c| 2 ++
libavcodec/x86/flacdsp_init.c| 8 +++--
libavcodec/x86/hevcdsp_init.c| 53
---
libavcodec/x86/hevcdsp_init.c | 454 +-
1 file changed, 227 insertions(+), 227 deletions(-)
diff --git a/libavcodec/x86/hevcdsp_init.c b/libavcodec/x86/hevcdsp_init.c
index 40a295430d..c7060085a2 100644
--- a/libavcodec/x86/hevcdsp_init.c
+++ b/libavcodec/x86/h
Continuation of e42aaaf92a4b0c88d60acc12df64c81d0887c26f
Signed-off-by: L. E. Segovia
---
fftools/ffprobe.c | 16 +++-
fftools/opt_common.c| 12 ++--
libavformat/rtmpproto.c | 24 ++--
3 files changed, 39 insertions(+), 13 deletions(-)
diff
Continuation of 40e6575aa3eed64cd32bf28c00ae57edc5acb25a
Signed-off-by: L. E. Segovia
---
libavcodec/x86/hpeldsp_init.c | 2 ++
libavcodec/x86/vc1dsp_init.c | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavcodec/x86/hpeldsp_init.c b/libavcodec/x86/hpeldsp_init.c
index
Continuation of 40e6575aa3eed64cd32bf28c00ae57edc5acb25a
Signed-off-by: L. E. Segovia
---
libavcodec/x86/aacencdsp_init.c| 2 ++
libavcodec/x86/aacpsdsp_init.c | 2 ++
libavcodec/x86/ac3dsp_init.c | 4
libavcodec/x86/audiodsp_init.c | 2
d the duplicate HAVE_X86ASM check in me_cmp_init
- Inlined the HAVE_X86ASM and ARCH_X86_64 checks in mlpdsp_init and
vf_convolution_init
L. E. Segovia (5):
all: Replace if (ARCH_FOO) checks by #if ARCH_FOO, part 2
avcodec/x86/hevcdsp_init: Fix indentation after the ARCH_FOO changes
all: Repla
Continuation of 40e6575aa3eed64cd32bf28c00ae57edc5acb25a
Co-authored-by: Nirbheek Chauhan
Signed-off-by: L. E. Segovia
---
libavcodec/x86/fdctdsp_init.c| 2 ++
libavcodec/x86/flacdsp_init.c| 8 +++--
libavcodec/x86/hevcdsp_init.c| 53
---
libavcodec/x86/hevcdsp_init.c | 454 +-
1 file changed, 227 insertions(+), 227 deletions(-)
diff --git a/libavcodec/x86/hevcdsp_init.c b/libavcodec/x86/hevcdsp_init.c
index 40a295430d..c7060085a2 100644
--- a/libavcodec/x86/hevcdsp_init.c
+++ b/libavcodec/x86/h
Continuation of e42aaaf92a4b0c88d60acc12df64c81d0887c26f
Signed-off-by: L. E. Segovia
---
fftools/ffprobe.c | 16 +++-
fftools/opt_common.c| 12 ++--
libavformat/rtmpproto.c | 24 ++--
3 files changed, 39 insertions(+), 13 deletions(-)
diff
Continuation of 40e6575aa3eed64cd32bf28c00ae57edc5acb25a
Signed-off-by: L. E. Segovia
---
libavcodec/x86/aacencdsp_init.c| 2 ++
libavcodec/x86/aacpsdsp_init.c | 2 ++
libavcodec/x86/ac3dsp_init.c | 4
libavcodec/x86/audiodsp_init.c | 2
Continuation of 40e6575aa3eed64cd32bf28c00ae57edc5acb25a
Signed-off-by: L. E. Segovia
---
libavcodec/x86/hpeldsp_init.c | 2 ++
libavcodec/x86/vc1dsp_init.c | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavcodec/x86/hpeldsp_init.c b/libavcodec/x86/hpeldsp_init.c
index
Ping for review.
amyspark
On 03/11/2022 13:36, L. E. Segovia wrote:
> Hi all,
>
> This new version is intended to make Patchwork log the set correctly.
> (My apologies there, I'm not used to send patches through the command line.)
>
> v3 changes (same as v2):
>
>
I move forward anyway with it?
On 03/11/2022 12:55, dev at lynne.ee (Lynne) wrote:
> Nov 3, 2022, 16:30 by amy at amyspark.me:
>
>> Continuation of 40e6575aa3eed64cd32bf28c00ae57edc5acb25a
>>
>> Signed-off-by: L. E. Segovia <> amy at amyspark.me> >
>>
>
Renewing ping. CC Andreas and Lynne since they were interested previously.
amyspark
On 07/11/2022 11:48, L. E. Segovia wrote:
> Ping for review.
>
> amyspark
>
> On 03/11/2022 13:36, L. E. Segovia wrote:
>> Hi all,
>>
>> This new version is intended to mak
Hi again,
Pinging again for review. I've asked for clarification about how should
the EXTERNAL_ checks be dealt with, but I've not received any
response here.
Best,
amyspark
On 07/11/2022 11:48, L. E. Segovia wrote:
> Ping for review.
>
> amyspark
>
> On 03/11/2022 1
Including winsock2.h without WIN32_LEAN_AND_MEAN causes bzlib.h to parse
as nonsense, due to an instance of #define char small in rpcndr.h
(included transitively from windows.h).
See: https://stackoverflow.com/a/27794577
Signed-off-by: L. E. Segovia
---
libavformat/network.h| 1
Updated for 6.0, any constructive feedback will be appreciated.
L. E. Segovia (4):
all: Replace if (ARCH_FOO) checks by #if ARCH_FOO, part 2
all: Replace if (CONFIG_FOO) checks by #if CONFIG_FOO
all: Guard if (INLINE*) checks with #if HAVE_INLINE_ASM
all: Guard if (EXTERNAL*) checks with
Continuation of 40e6575aa3eed64cd32bf28c00ae57edc5acb25a
Co-authored-by: Nirbheek Chauhan
Signed-off-by: L. E. Segovia
---
libavcodec/x86/fdctdsp_init.c| 2 +
libavcodec/x86/flacdsp_init.c| 8 +-
libavcodec/x86/hevcdsp_init.c| 547
Continuation of e42aaaf92a4b0c88d60acc12df64c81d0887c26f
Signed-off-by: L. E. Segovia
---
fftools/ffprobe.c | 16 +++-
fftools/opt_common.c| 12 ++--
libavformat/rtmpproto.c | 24 ++--
3 files changed, 39 insertions(+), 13 deletions(-)
diff
Continuation of 40e6575aa3eed64cd32bf28c00ae57edc5acb25a
Signed-off-by: L. E. Segovia
---
libavcodec/x86/hpeldsp_init.c | 2 ++
libavcodec/x86/vc1dsp_init.c | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavcodec/x86/hpeldsp_init.c b/libavcodec/x86/hpeldsp_init.c
index
Continuation of 40e6575aa3eed64cd32bf28c00ae57edc5acb25a
Signed-off-by: L. E. Segovia
---
libavcodec/x86/aacencdsp_init.c| 2 ++
libavcodec/x86/aacpsdsp_init.c | 2 ++
libavcodec/x86/ac3dsp_init.c | 4
libavcodec/x86/audiodsp_init.c | 2
that output device into the targets.
Signed-off-by: L. E. Segovia
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 99388e7664..ccb9d7be7a 100755
--- a/configure
+++ b/configure
@@ -3577,7 +3577,7 @@ alsa_outdev_deps="
Including winsock2.h without WIN32_LEAN_AND_MEAN causes bzlib.h to parse
as nonsense, due to an instance of #define char small in rpcndr.h
(included transitively from windows.h).
See: https://stackoverflow.com/a/27794577
Signed-off-by: L. E. Segovia
---
libavformat/network.h| 1
Hi all,
Yes, the linking step bails out with optimizations disabled under MSVC.
The rest of the compilers perform DCE even at -O0, but under Windows,
the /FORCE:UNRESOLVED linker flag is needed to work around this.
As for the stub generation -- given the amount of places that these
patches touch
that output device into the targets.
Signed-off-by: L. E. Segovia
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 99388e7664..ccb9d7be7a 100755
--- a/configure
+++ b/configure
@@ -3577,7 +3577,7 @@ alsa_outdev_deps="
Sending again to fix the format=flowed mishap.
L. E. Segovia (4):
all: Replace if (ARCH_FOO) checks by #if ARCH_FOO, part 2
all: Replace if (CONFIG_FOO) checks by #if CONFIG_FOO
all: Guard if (INLINE*) checks with #if HAVE_INLINE_ASM
all: Guard if (EXTERNAL*) checks with #if HAVE_X86ASM
Continuation of 40e6575aa3eed64cd32bf28c00ae57edc5acb25a
Co-authored-by: Nirbheek Chauhan
Signed-off-by: L. E. Segovia
---
libavcodec/x86/fdctdsp_init.c| 2 +
libavcodec/x86/flacdsp_init.c| 8 +-
libavcodec/x86/hevcdsp_init.c| 547
Continuation of e42aaaf92a4b0c88d60acc12df64c81d0887c26f
Signed-off-by: L. E. Segovia
---
fftools/ffprobe.c | 16 +++-
fftools/opt_common.c| 12 ++--
libavformat/rtmpproto.c | 24 ++--
3 files changed, 39 insertions(+), 13 deletions(-)
diff
Continuation of 40e6575aa3eed64cd32bf28c00ae57edc5acb25a
Signed-off-by: L. E. Segovia
---
libavcodec/x86/hpeldsp_init.c | 2 ++
libavcodec/x86/vc1dsp_init.c | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavcodec/x86/hpeldsp_init.c b/libavcodec/x86/hpeldsp_init.c
index
Continuation of 40e6575aa3eed64cd32bf28c00ae57edc5acb25a
Signed-off-by: L. E. Segovia
---
libavcodec/x86/aacencdsp_init.c| 2 ++
libavcodec/x86/aacpsdsp_init.c | 2 ++
libavcodec/x86/ac3dsp_init.c | 4
libavcodec/x86/audiodsp_init.c | 2
Ping again for review.
amyspark
On 29/07/2023 16:00, L. E. Segovia wrote:
> audiotoolbox.m uses CoreAudio APIs that are only available in macOS.
> The existing CoreAudio framework check is already enough for this case
> (as CoreAudio.h does not exist for the iDevices), however, it
44 matches
Mail list logo