diff options
Diffstat (limited to 'lib/rbcodec/test/warble.c')
-rw-r--r-- | lib/rbcodec/test/warble.c | 2 |
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) | |||
475 | static void *ci_request_buffer(size_t *realsize, size_t reqsize) | 475 | static void *ci_request_buffer(size_t *realsize, size_t reqsize) |
476 | { | 476 | { |
477 | free(input_buffer); | 477 | free(input_buffer); |
478 | if (get_audio_base_data_type(ci.id3->codectype) == TYPE_PACKET_AUDIO) | 478 | if (!rbcodec_format_is_atomic(ci.id3->codectype)) |
479 | reqsize = MIN(reqsize, 32 * 1024); | 479 | reqsize = MIN(reqsize, 32 * 1024); |
480 | input_buffer = malloc(reqsize); | 480 | input_buffer = malloc(reqsize); |
481 | *realsize = read(input_fd, input_buffer, reqsize); | 481 | *realsize = read(input_fd, input_buffer, reqsize); |