Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
globalheaders: fix again the wrong packet refcounting
  • Loading branch information
perexg committed Sep 22, 2014
1 parent df1cf7d commit 2ea3c96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plumbing/globalheaders.c
Expand Up @@ -172,7 +172,8 @@ convertpkt(streaming_start_component_t *ssc, th_pkt_t *pkt, int hold)
switch(ssc->ssc_type) {
case SCT_H264:
r = avc_convert_pkt(pkt);
pkt_ref_dec(pkt);
if (!hold)
pkt_ref_dec(pkt);
break;

default:
Expand Down

0 comments on commit 2ea3c96

Please sign in to comment.