Skip to content

Commit

Permalink
Use sed instead of patches
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastiaanYN committed Aug 28, 2022
1 parent 4803dd4 commit 2858fbf
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 200 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ RUN ./scripts/install.sh
# Copy sources
COPY FFmpeg FFmpeg
COPY deps deps
COPY patches patches
COPY scripts scripts

# Build scripts
Expand Down
198 changes: 0 additions & 198 deletions patches/file_open.c

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -euo pipefail

cd FFmpeg
cp ../patches/file_open.c ./libavutil/file_open.c
sed -i 's,tempnam,NULL; //tempnam,g' ./libavutil/file_open.c
../build/compile.sh
cp ffmpeg ../ffmpeg.wasm
cp ffprobe ../ffprobe.wasm
Expand Down

0 comments on commit 2858fbf

Please sign in to comment.