Commit 83c2bc7a authored by Baptiste Coudurier's avatar Baptiste Coudurier

In mpegts muxer, free adts context and temporary data

Originally committed as revision 22428 to svn://
parent e3433702
......@@ -869,6 +869,8 @@ static int mpegts_write_packet(AVFormatContext *s, AVPacket *pkt)
memcpy(ts_st->payload + ts_st->payload_index, buf, size);
ts_st->payload_index += size;
return 0;
......@@ -888,6 +890,7 @@ static int mpegts_write_end(AVFormatContext *s)
mpegts_write_pes(s, st, ts_st->payload, ts_st->payload_index,
ts_st->payload_pts, ts_st->payload_dts);
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