Replace av_dlog with normal av_log at trace level
This applies to every library where performance is not critical.
This commit is contained in:
@@ -319,7 +319,7 @@ int ff_rm_read_mdpr_codecdata(AVFormatContext *s, AVIOContext *pb,
|
||||
st->codec->codec_tag = avio_rl32(pb);
|
||||
st->codec->codec_id = ff_codec_get_id(ff_rm_codec_tags,
|
||||
st->codec->codec_tag);
|
||||
av_dlog(s, "%X %X\n", st->codec->codec_tag, MKTAG('R', 'V', '2', '0'));
|
||||
av_log(s, AV_LOG_TRACE, "%X %X\n", st->codec->codec_tag, MKTAG('R', 'V', '2', '0'));
|
||||
if (st->codec->codec_id == AV_CODEC_ID_NONE)
|
||||
goto fail1;
|
||||
st->codec->width = avio_rb16(pb);
|
||||
@@ -452,7 +452,7 @@ static int rm_read_header(AVFormatContext *s)
|
||||
tag = avio_rl32(pb);
|
||||
tag_size = avio_rb32(pb);
|
||||
avio_rb16(pb);
|
||||
av_dlog(s, "tag=%c%c%c%c (%08x) size=%d\n",
|
||||
av_log(s, AV_LOG_TRACE, "tag=%c%c%c%c (%08x) size=%d\n",
|
||||
(tag ) & 0xff,
|
||||
(tag >> 8) & 0xff,
|
||||
(tag >> 16) & 0xff,
|
||||
@@ -946,7 +946,7 @@ static int64_t rm_read_dts(AVFormatContext *s, int stream_index,
|
||||
}
|
||||
|
||||
if((flags&2) && (seq&0x7F) == 1){
|
||||
av_dlog(s, "%d %d-%d %"PRId64" %d\n",
|
||||
av_log(s, AV_LOG_TRACE, "%d %d-%d %"PRId64" %d\n",
|
||||
flags, stream_index2, stream_index, dts, seq);
|
||||
av_add_index_entry(st, pos, dts, 0, 0, AVINDEX_KEYFRAME);
|
||||
if(stream_index2 == stream_index)
|
||||
|
||||
Reference in New Issue
Block a user