summaryrefslogtreecommitdiffstats
path: root/lib/rbcodec/test/warble.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/test/warble.c')
-rw-r--r--lib/rbcodec/test/warble.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbcodec/test/warble.c b/lib/rbcodec/test/warble.c
index e3d9456f4d..8dc27da9eb 100644
--- a/lib/rbcodec/test/warble.c
+++ b/lib/rbcodec/test/warble.c
@@ -475,7 +475,7 @@ static size_t ci_read_filebuf(void *ptr, size_t size)
static void *ci_request_buffer(size_t *realsize, size_t reqsize)
{
free(input_buffer);
- if (get_audio_base_data_type(ci.id3->codectype) == TYPE_PACKET_AUDIO)
+ if (!rbcodec_format_is_atomic(ci.id3->codectype))
reqsize = MIN(reqsize, 32 * 1024);
input_buffer = malloc(reqsize);
*realsize = read(input_fd, input_buffer, reqsize);