summaryrefslogtreecommitdiff
path: root/vendor/codeberg.org/gruf/go-ffmpreg/embed/ffmpeg/lib.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2024-11-06 13:38:13 +0000
committerLibravatar GitHub <noreply@github.com>2024-11-06 14:38:13 +0100
commitb84637801ae9e9cf330d91ce7e2e7734a7c6130c (patch)
treee7518f95e0a44506c24c298dd88c654c0a4bdae5 /vendor/codeberg.org/gruf/go-ffmpreg/embed/ffmpeg/lib.go
parent[bugfix] sets the max value placeholders to MaxInt32 instead of MaxInt (#3517) (diff)
downloadgotosocial-b84637801ae9e9cf330d91ce7e2e7734a7c6130c.tar.xz
[chore] update go ffmpreg to v0.6.0 (#3515)
* pull in go-ffmpreg v0.6.0 * add code comment * grrr linter * set empty module name when calling ffmpeg / ffprobe
Diffstat (limited to 'vendor/codeberg.org/gruf/go-ffmpreg/embed/ffmpeg/lib.go')
-rw-r--r--vendor/codeberg.org/gruf/go-ffmpreg/embed/ffmpeg/lib.go25
1 files changed, 0 insertions, 25 deletions
diff --git a/vendor/codeberg.org/gruf/go-ffmpreg/embed/ffmpeg/lib.go b/vendor/codeberg.org/gruf/go-ffmpreg/embed/ffmpeg/lib.go
deleted file mode 100644
index abe32d7c1..000000000
--- a/vendor/codeberg.org/gruf/go-ffmpreg/embed/ffmpeg/lib.go
+++ /dev/null
@@ -1,25 +0,0 @@
-package ffmpeg
-
-import (
- _ "embed"
- "os"
-)
-
-func init() {
- // Check for WASM source file path.
- path := os.Getenv("FFMPEG_WASM")
- if path == "" {
- return
- }
-
- var err error
-
- // Read file into memory.
- B, err = os.ReadFile(path)
- if err != nil {
- panic(err)
- }
-}
-
-//go:embed ffmpeg.wasm
-var B []byte