Skip to content

Commit

Permalink
Format files
Browse files Browse the repository at this point in the history
  • Loading branch information
varsill committed Jan 7, 2025
1 parent 9cb7ad8 commit da6df99
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/membrane_mp4/demuxer/cmaf.ex
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,10 @@ defmodule Membrane.MP4.Demuxer.CMAF do
:mdat ->
state = Map.update!(state, :how_many_segment_bytes_read, &(&1 + box.header_size))
{actions, state} = read_mdat(box, state)
new_fsm_state = if state.samples_info == [], do: :reading_fragment_header, else: :reading_fragment_data

new_fsm_state =
if state.samples_info == [], do: :reading_fragment_header, else: :reading_fragment_data

{actions, %{state | fsm_state: new_fsm_state}}

_other ->
Expand Down

0 comments on commit da6df99

Please sign in to comment.