Skip to content

Commit

Permalink
コスメ
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexa committed Nov 7, 2024
1 parent 2b244a7 commit 16189a3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,7 @@ func opus2ogg(ctx context.Context, opusReader io.Reader, oggWriter io.Writer, sa

for {
buf := make([]byte, FrameSize)
var n int
n, err = r.Read(buf)
n, err := r.Read(buf)
if err != nil {
if w, ok := oggWriter.(*io.PipeWriter); ok {
w.CloseWithError(err)
Expand Down

0 comments on commit 16189a3

Please sign in to comment.