From: Jaroslav Kysela Date: Mon, 5 Jan 2015 14:36:31 +0000 (+0100) Subject: transcode: fix AAC encoding (wrong ADTS header - typo in source) X-Git-Tag: v4.1~518 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1027f294d0c603c270ea77cfe9c0dfd4f31d8475;p=thirdparty%2Ftvheadend.git transcode: fix AAC encoding (wrong ADTS header - typo in source) --- diff --git a/src/plumbing/transcoding.c b/src/plumbing/transcoding.c index eb52deb32..1448d6171 100644 --- a/src/plumbing/transcoding.c +++ b/src/plumbing/transcoding.c @@ -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);