Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
transcode: fix AAC encoding (wrong ADTS header - typo in source)
  • Loading branch information
perexg committed Jan 5, 2015
1 parent 6f8b1c5 commit 1027f29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plumbing/transcoding.c
Expand Up @@ -756,7 +756,7 @@ transcoder_stream_audio(transcoder_t *t, transcoder_stream_t *ts, th_pkt_t *pkt)
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);
Expand Down

0 comments on commit 1027f29

Please sign in to comment.