electron-chromium-codecs
electron-chromium-codecs copied to clipboard
ninja: error: '../../third_party/ffmpeg/libavcodec/autorename_libavcodec_bswapdsp.c', needed by 'obj/third_party/ffmpeg/ffmpeg_internal/autorename_libavcodec_bswapdsp.o', missing and no known rule to make it
It seems to only affect v25.10 going forward. I think the patch might have been omitted in the ffmpeg patches. After doing some digging I found that creating the file and setting its contents to the text below fixes it.
#include "bswapdsp.c"
Equivalent bash command, run from root electron/src directory
cat <<EOT > third_party/ffmpeg/libavcodec/autorename_libavcodec_bswapdsp.c
#include "bswapdsp.c"