rxrbln / t2sde

T2 SDE Linux
https://t2sde.org
Other
338 stars 48 forks source link

Patch added for: MPlayer 1.5 with FFmpeg mathops.h fix for x86 asm macros... #160

Closed aphorise closed 5 months ago

aphorise commented 7 months ago

Added patch fix for MPlayer 1.5 that's using outdated mathops.h which result in the below errors during make.

See FFmpeg/commit/effadce6c756247ea8bae32dc13bb3e6f464f0eb for fix from: Jul 20, 2023.

# ERRORS during make:
# ...
./libavcodec/x86/mathops.h: Assembler messages:
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
make[1]: *** [ffbuild/common.mak:78: libavformat/adtsenc.o] Error 1
make[1]: Leaving directory '/root/MPlayer-1.5/ffmpeg'
make: *** [Makefile:744: ffmpeg/libavformat/libavformat.a] Error 2
rxrbln commented 5 months ago

Thanks, already committed earlier r68533