]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
transcode: fix AAC encoding (wrong ADTS header - typo in source)
authorJaroslav Kysela <perex@perex.cz>
Mon, 5 Jan 2015 14:36:31 +0000 (15:36 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 5 Jan 2015 14:36:44 +0000 (15:36 +0100)
src/plumbing/transcoding.c

index eb52deb3284ba52fd877da490ef8115d0f10bcec..1448d617109436eaadbed19abc3cb7dfac04155a 100644 (file)
@@ -756,7 +756,7 @@ scleanup:
       n->pkt_duration       = packet.duration;
 
       if (extra_size && ts->ts_type == SCT_AAC)
-        create_adts_header(pkt->pkt_payload, n->pkt_sri, octx->channels);
+        create_adts_header(n->pkt_payload, n->pkt_sri, octx->channels);
 
       if (octx->extradata_size)
        n->pkt_meta = pktbuf_alloc(octx->extradata, octx->extradata_size);