Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
transcode: fix wrong memory access introduced by previous patch
  • Loading branch information
perexg committed Feb 10, 2015
1 parent c475b25 commit cd1f081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plumbing/transcoding.c
Expand Up @@ -1258,12 +1258,12 @@ transcoder_packet(transcoder_t *t, th_pkt_t *pkt)
if (pkt->pkt_componentindex == ts->ts_index) {
if (pkt->pkt_payload) {
ts->ts_handle_pkt(t, ts, pkt);
return;
} else {
sm = streaming_msg_create_pkt(pkt);
streaming_target_deliver2(ts->ts_target, sm);
pkt_ref_dec(pkt);
}
return;
}
}
pkt_ref_dec(pkt);
Expand Down

0 comments on commit cd1f081

Please sign in to comment.