aboutsummaryrefslogtreecommitdiffstats
path: root/libtoolame-dab/toolame.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtoolame-dab/toolame.c')
-rw-r--r--libtoolame-dab/toolame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtoolame-dab/toolame.c b/libtoolame-dab/toolame.c
index b8a7afb..4e0c7d8 100644
--- a/libtoolame-dab/toolame.c
+++ b/libtoolame-dab/toolame.c
@@ -522,7 +522,7 @@ int toolame_encode_frame(
if (xpad_len) {
- assert(xpad_len > 2);
+ assert(xpad_len >= FPAD_LENGTH);
// insert available X-PAD
for (int i = header.dab_length - xpad_len;