]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Remove the unnecessary fltp capability test; it should have been done at startup.
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Tue, 24 May 2022 14:20:54 +0000 (15:20 +0100)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Tue, 24 May 2022 14:20:54 +0000 (15:20 +0100)
rtp.c

diff --git a/rtp.c b/rtp.c
index dbf4ed80410de59ea010e02920f8640dfff10b0b..c76e17b83fe2aaa0929eff37b985d60ba47d89b2 100644 (file)
--- 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");