Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
dpolakovics committed Nov 4, 2024
1 parent 3513c57 commit 7dc9cc1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion internal/logic/ffmpeg_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ package logic

import (
"fmt"
"io"
"net/http"
"os"
"os/exec"

Check failure on line 11 in internal/logic/ffmpeg_windows.go

View workflow job for this annotation

GitHub Actions / build

"os/exec" imported and not used
"path/filepath"
"runtime"

Check failure on line 13 in internal/logic/ffmpeg_windows.go

View workflow job for this annotation

GitHub Actions / build

"runtime" imported and not used
ffstatic_windows_amd64 "github.com/go-ffstatic/windows-amd64"

Check failure on line 14 in internal/logic/ffmpeg_windows.go

View workflow job for this annotation

GitHub Actions / build

"github.com/go-ffstatic/windows-amd64" imported as ffstatic_windows_amd64 and not used
)
Expand All @@ -22,7 +26,7 @@ func getFFmpegPath() (string, error) {
ffmpegURL := "https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-win64-gpl.zip"

// Download ZIP file
err := downloadFile(ffmpegURL, zipPath)
err := downloadFFmpeg(ffmpegURL, zipPath)
if err != nil {
return "", fmt.Errorf("failed to download FFmpeg: %v", err)
}
Expand Down

0 comments on commit 7dc9cc1

Please sign in to comment.