Skip to content

Commit

Permalink
Windows fix
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyschoen committed Jan 30, 2025
1 parent 31c579e commit 478cff0
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions Source/Shared/ffmpeg/build_ffmpeg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,29 +19,6 @@ else
exit 1
fi

CHERE_INVOKING=1
MSYS2_PATH_TYPE=inherit
MSYSTEM=MSYS

AVUTIL_FILE="$FFMPEG_DIR/libavutil/avconfig.h"
# Check if the file already exists
if [ ! -f "$AVUTIL_FILE" ]; then
# Write the content to the file
touch "$AVUTIL_FILE"
cat <<EOL > "$AVUTIL_FILE"
/* Generated by ffmpeg configure */
#ifndef AVUTIL_AVCONFIG_H
#define AVUTIL_AVCONFIG_H
#define AV_HAVE_BIGENDIAN 0
#define AV_HAVE_FAST_UNALIGNED 0
#endif /* AVUTIL_AVCONFIG_H */
EOL

echo "File '$AVUTIL_FILE' created."
else
echo "File '$AVUTIL_FILE' already exists. No changes made."
fi

# Configure and compile FFmpeg
cd "$FFMPEG_DIR"
./configure --disable-asm --disable-libxcb --disable-bzlib --disable-lzma --disable-sdl2 --disable-libdrm --disable-vaapi --enable-static --disable-shared --enable-optimizations --disable-debug --disable-doc \
Expand Down

0 comments on commit 478cff0

Please sign in to comment.