Skip to content

Commit

Permalink
theoraplay: No need to check next pointer now that it's a unique_ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
jhasse committed Jan 15, 2025
1 parent a8afc8e commit b11422f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/theoraplay/theoraplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,6 @@ std::unique_ptr<const THEORAPLAY_AudioPacket> THEORAPLAY_getAudio(THEORAPLAY_Dec
}

THEORAPLAY_AudioPacket::~THEORAPLAY_AudioPacket() noexcept {
assert(next == nullptr);
free(samples);
}

Expand Down

0 comments on commit b11422f

Please sign in to comment.