Skip to content

Commit c7e54bf

Browse files
committed
1.20
1 parent 2ac650e commit c7e54bf

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
name: CI on OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
1515
strategy:
1616
matrix:
17-
otp: ['28']
18-
elixir: ['1.19']
17+
otp: ['29']
18+
elixir: ['1.20']
1919
steps:
2020
- name: Set up Elixir
2121
uses: erlef/setup-beam@v1

lib/ex_rtcp/compound_packet.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ defmodule ExRTCP.CompoundPacket do
5353

5454
defp get_packet(<<_::16, len::16, _::binary>> = raw) do
5555
case raw do
56-
<<packet::binary-size((len + 1) * 4), rest::binary>> ->
56+
<<packet::binary-size((^len + 1) * 4), rest::binary>> ->
5757
case Packet.decode(packet) do
5858
{:ok, packet} -> {:ok, packet, rest}
5959
{:error, :unknown_type} -> {:ok, :unknown_type, rest}

lib/ex_rtcp/packet.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ defmodule ExRTCP.Packet do
9292
defp strip_padding(raw) do
9393
size = byte_size(raw)
9494

95-
with <<_rest::binary-size(size - 1), len>> <- raw,
96-
<<rest::binary-size(size - len), _rest::binary>> <- raw do
95+
with <<_rest::binary-size(^size - 1), len>> <- raw,
96+
<<rest::binary-size(^size - ^len), _rest::binary>> <- raw do
9797
{:ok, rest}
9898
else
9999
_other -> {:error, :invalid_packet}

lib/ex_rtcp/packet/transport_feedback/cc.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ defmodule ExRTCP.Packet.TransportFeedback.CC do
238238

239239
defp decode_chunks(<<1::1, symbol_size::1, list::bitstring-14, rest::binary>>, count, acc) do
240240
symbols =
241-
for <<raw_symbol::size(symbol_size + 1) <- list>> do
241+
for <<raw_symbol::size(^symbol_size + 1) <- list>> do
242242
get_status_symbol(raw_symbol)
243243
end
244244

mix.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
%{
22
"bunt": {:hex, :bunt, "1.0.0", "081c2c665f086849e6d57900292b3a161727ab40431219529f13c4ddcf3e7a44", [:mix], [], "hexpm", "dc5f86aa08a5f6fa6b8096f0735c4e76d54ae5c9fa2c143e5a1fc7c1cd9bb6b5"},
3-
"credo": {:hex, :credo, "1.7.18", "5c5596bf7aedf9c8c227f13272ac499fe8eae6237bd326f2f07dfc173786f042", [:mix], [{:bunt, "~> 0.2.1 or ~> 1.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2 or ~> 1.0", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "a189d164685fd945809e862fe76a7420c4398fa288d76257662aecb909d6b3e5"},
3+
"credo": {:hex, :credo, "1.7.19", "cc52129665fc7c15143d47838fda0f9cd6dac9ceced7bf4da6f85fcbfe64b12a", [:mix], [{:bunt, "~> 0.2.1 or ~> 1.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2 or ~> 1.0", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "2d8bc95d5a7bb99dd2613621d4f08c6a3575c3fd4b62e6a2b48a100352a557b8"},
44
"dialyxir": {:hex, :dialyxir, "1.4.7", "dda948fcee52962e4b6c5b4b16b2d8fa7d50d8645bbae8b8685c3f9ecb7f5f4d", [:mix], [{:erlex, ">= 0.2.8", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm", "b34527202e6eb8cee198efec110996c25c5898f43a4094df157f8d28f27d9efe"},
55
"earmark_parser": {:hex, :earmark_parser, "1.4.44", "f20830dd6b5c77afe2b063777ddbbff09f9759396500cdbe7523efd58d7a339c", [:mix], [], "hexpm", "4778ac752b4701a5599215f7030989c989ffdc4f6df457c5f36938cc2d2a2750"},
66
"erlex": {:hex, :erlex, "0.2.9", "7debbbaa9f4f368b8cd648983e0f1d7963028508e9c59e9d4ed504e94ef52a55", [:mix], [], "hexpm", "8cfffc0ec7159e6d73de2ab28a588064de80f88b2798d5cbe4482cbbc200178b"},

0 commit comments

Comments
 (0)