Skip to content

Commit

Permalink
Satisfy credo
Browse files Browse the repository at this point in the history
  • Loading branch information
Noarkhh committed Jan 22, 2024
1 parent 73a3d5c commit 7844264
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/membrane/rtp/packet_payload_type.ex
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ defmodule Membrane.RTP.Packet.PayloadType do
@doc """
Checks if numerical payload type should be assigned to format type dynamically.
"""
@spec is_dynamic(payload_type :: RTP.payload_type_t()) :: boolean()
def is_dynamic(payload_type) when payload_type in 96..127, do: true
def is_dynamic(_payload_type), do: false
@spec dynamic?(payload_type :: RTP.payload_type_t()) :: boolean()
def dynamic?(payload_type) when payload_type in 96..127, do: true
def dynamic?(_payload_type), do: false
end

0 comments on commit 7844264

Please sign in to comment.