summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn van Beurden <mvanb1@gmail.com>2022-09-14 21:56:45 +0200
committerGitHub <noreply@github.com>2022-09-14 21:56:45 +0200
commit229f4f45df72ac1fc8a2f7749043223d745c8e27 (patch)
treed78487c3cbf05b981727d159960d09efb1b0cf4a
parent13bba4462b2f6274da00e5ebbdf5b8ab6bf28d7d (diff)
downloadflac-229f4f45df72ac1fc8a2f7749043223d745c8e27.tar.gz
Remove assert that is no longer true
This was never strictly true, but the assert fired in normal use since commit a2c8ae5
-rw-r--r--src/libFLAC/format.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libFLAC/format.c b/src/libFLAC/format.c
index 2729f979..dbb903e3 100644
--- a/src/libFLAC/format.c
+++ b/src/libFLAC/format.c
@@ -586,8 +586,6 @@ FLAC__bool FLAC__format_entropy_coding_method_partitioned_rice_contents_ensure_s
{
FLAC__ASSERT(0 != object);
- FLAC__ASSERT(object->capacity_by_order > 0 || (0 == object->parameters && 0 == object->raw_bits));
-
if(object->capacity_by_order < max_partition_order || object->parameters == NULL || object->raw_bits == NULL) {
if(0 == (object->parameters = safe_realloc_(object->parameters, sizeof(uint32_t)*(1 << max_partition_order))))
return false;