electron-chromium-codecs icon indicating copy to clipboard operation
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

Open SenZmaKi opened this issue 8 months ago • 0 comments

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"

SenZmaKi avatar Feb 20 '25 11:02 SenZmaKi