From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Tue, 24 May 2022 14:20:54 +0000 (+0100) Subject: Remove the unnecessary fltp capability test; it should have been done at startup. X-Git-Tag: 4.1-rc1~24^2~173 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=953b09560cd83b48e5ef6ea01a568783dfd5fe56;p=thirdparty%2Fshairport-sync.git Remove the unnecessary fltp capability test; it should have been done at startup. --- diff --git a/rtp.c b/rtp.c index dbf4ed80..c76e17b8 100644 --- a/rtp.c +++ b/rtp.c @@ -2236,9 +2236,6 @@ 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."); - AVPacket *pkt = av_packet_alloc(); if (pkt == NULL) { debug(1, "Can't allocate an AV packet");