From baa5b0d14ff385ff01d651ea7a2a6190ab480c2a Mon Sep 17 00:00:00 2001 From: AlexBratosin2001 Date: Wed, 11 Jan 2017 00:24:07 +0200 Subject: [PATCH] Fixed error regarding last commit --- src/lib_ccx/ts_functions.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/lib_ccx/ts_functions.c b/src/lib_ccx/ts_functions.c index e36965d7..bb77d845 100644 --- a/src/lib_ccx/ts_functions.c +++ b/src/lib_ccx/ts_functions.c @@ -632,10 +632,6 @@ uint64_t get_pts(uint8_t* buffer) { pes_packet_length = 6 + ((buffer[4] << 8) | buffer[5]); // 5th and 6th byte of the header define the length of the rest of the packet (+6 is for the prefix, stream ID and packet length) - printf("Packet start code prefix: %04x # ", pes_prefix); - printf("Stream ID: %04x # ", pes_stream_id); - printf("Packet length: %d ", pes_packet_length); - // optional PES header marker bits (10.. ....) if ((buffer[6] & 0xc0) == 0x80) { @@ -712,7 +708,7 @@ uint64_t get_video_min_pts(struct ccx_demuxer *context) p++; } - freep(ctx); + freep(&ctx); freep(&pts_array); return min_pts;