Skip to content

Commit

Permalink
fix render gif
Browse files Browse the repository at this point in the history
Co-authored-by: motoki317 <motoki317@gmail.com>
  • Loading branch information
logica0419 and motoki317 committed Dec 9, 2023
1 parent afc37e2 commit eba7e4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/imaging/processor_default.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (p *defaultProcessor) FitAnimationGIF(srcFile io.Reader, width, height int)
dst.Image = append(dst.Image, destFrame)
}

return imaging2.GifToBytesReader(src)
return imaging2.GifToBytesReader(dst)
}

func (p *defaultProcessor) WaveformMp3(src io.ReadSeeker, width, height int) (r io.Reader, err error) {
Expand Down

0 comments on commit eba7e4f

Please sign in to comment.