From ca1e5eea0c7b72a6e30aa6488cfeced3a4853521 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 3 Jan 2016 20:27:59 +0100 Subject: Remove some pointless TRACE level debug code This also kills some warnings with certain compiler options. --- libavformat/avidec.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'libavformat/avidec.c') diff --git a/libavformat/avidec.c b/libavformat/avidec.c index b07dabd..0439c9c 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -1238,17 +1238,6 @@ resync: // pkt->dts += ast->start; if (ast->sample_size) pkt->dts /= ast->sample_size; - av_log(s, AV_LOG_TRACE, - "dts:%"PRId64" offset:%"PRId64" %d/%d smpl_siz:%d " - "base:%d st:%d size:%d\n", - pkt->dts, - ast->frame_offset, - ast->scale, - ast->rate, - ast->sample_size, - AV_TIME_BASE, - avi->stream_index, - size); pkt->stream_index = avi->stream_index; if (st->codecpar->codec_type == AVMEDIA_TYPE_VIDEO) { @@ -1453,12 +1442,6 @@ static int avi_load_index(AVFormatContext *s) break; tag = avio_rl32(pb); size = avio_rl32(pb); - av_log(s, AV_LOG_TRACE, "tag=%c%c%c%c size=0x%x\n", - tag & 0xff, - (tag >> 8) & 0xff, - (tag >> 16) & 0xff, - (tag >> 24) & 0xff, - size); if (tag == MKTAG('i', 'd', 'x', '1') && avi_read_idx1(s, size) >= 0) { -- cgit v1.1