From 645e17749e35225135ef55d447612f3c97764371 Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Tue, 24 May 2022 13:31:28 +0100 Subject: [PATCH] Turn off AAC decoder checker. --- rtp.c | 4 ++-- shairport.c | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/rtp.c b/rtp.c index 0e2893c1..dbf4ed80 100644 --- a/rtp.c +++ b/rtp.c @@ -2236,8 +2236,8 @@ void *rtp_buffered_audio_processor(void *arg) { // push a closer -- av_parser_close(codec_parser_context); pthread_cleanup_push(av_parser_init_cleanup_handler, codec_parser_context); - if (codec_context->sample_fmt != AV_SAMPLE_FMT_FLTP) - die("the AAC decoder is not capable of handling Floating Point Planar (\"fltp\") formatted AAC-encoded material."); + // if (codec_context->sample_fmt != AV_SAMPLE_FMT_FLTP) + // die("the AAC decoder is not capable of handling Floating Point Planar (\"fltp\") formatted AAC-encoded material."); AVPacket *pkt = av_packet_alloc(); if (pkt == NULL) { diff --git a/shairport.c b/shairport.c index 4e25c262..f7619a9b 100644 --- a/shairport.c +++ b/shairport.c @@ -252,6 +252,7 @@ void *soxr_time_check(__attribute__((unused)) void *arg) { #endif void usage(char *progname) { +/* #ifdef CONFIG_AIRPLAY_2 if (has_fplt_capable_aac_decoder() == 0) { printf("IMPORTANT NOTE: Shairport Sync will not run on this system.\n"); @@ -259,6 +260,7 @@ void usage(char *progname) { printf("but the system's ffmpeg library does not contain one.\n\n"); } #endif +*/ printf("Usage: %s [options...]\n", progname); printf(" or: %s [options...] -- [audio output-specific options]\n", progname); printf("\n");