Commit 06205b5e authored by Martin Storsjö's avatar Martin Storsjö

hls: Free packets when skipping packets when seeking

This fixes memory leaks present since 2b3d041c.
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent a2b7eeeb
......@@ -651,6 +651,8 @@ start:
c->seek_timestamp = AV_NOPTS_VALUE;
break;
}
av_free_packet(&var->pkt);
reset_packet(&var->pkt);
}
}
/* Check if this stream still is on an earlier segment number, or
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment