Skip to content

Commit c869e3f

Browse files
author
Connor Rigby
committed
Remove unnecessary File.write/2 call
1 parent 5d1be1f commit c869e3f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/turbojpeg/sink.ex

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ defmodule Turbojpeg.Sink do
4646

4747
@impl true
4848
def handle_write(:input, %Buffer{payload: payload}, _ctx, state) do
49-
File.write!("fixture_i420.yuv", Shmex.to_binary(payload))
50-
5149
with {:ok, data} <- Native.to_jpeg(payload, state.jpeg_ref),
5250
:ok <- File.write(state.filename, Shmex.to_binary(data)) do
5351
{:ok, state}

0 commit comments

Comments
 (0)