]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Increase maximum ADTS packet size to match FFMPEG
authorFlole998 <Flole998@users.noreply.github.com>
Thu, 10 Nov 2022 17:31:18 +0000 (18:31 +0100)
committerGitHub <noreply@github.com>
Thu, 10 Nov 2022 17:31:18 +0000 (18:31 +0100)
src/transcoding/transcode/helpers.c

index ce31363408a992447d09a1ea9c24f745a0421582..f8d087de53af82a1d27b8cf903e1dacc31be0060 100644 (file)
@@ -363,7 +363,7 @@ tvh_aac_pack_adts_header(TVHContext *self, pktbuf_t *pb)
 static th_pkt_t *
 tvh_aac_pack(TVHContext *self, AVPacket *avpkt)
 {
-    static const size_t header_size = 7, max_size = ((1 << 13) - 1);
+    static const size_t header_size = 9, max_size = ((1 << 14) - 1);
     size_t pkt_size = 0;
     th_pkt_t *pkt = NULL;