summaryrefslogtreecommitdiff
path: root/libavformat/avidec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-02-18 03:44:17 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-02-21 23:55:47 +0100
commite6380afa6aa7b78a7b5c37039a8ca52e0f87a4e5 (patch)
treeeb7a57523da8e4eef1e3459dad1d46af76a675b1 /libavformat/avidec.c
parent68fac5c2b8d12e360109a987420261f4c9b5c200 (diff)
avidec: Reduce log level for out of index error message.
Its otherwise spaming every time one tries to seek to outside the file. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r--libavformat/avidec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index db4a6b09e3..efa1bb5daf 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -1387,7 +1387,7 @@ static int avi_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp
index= av_index_search_timestamp(st, timestamp * FFMAX(ast->sample_size, 1), flags);
if (index<0) {
if (st->nb_index_entries > 0)
- av_log(s, AV_LOG_ERROR, "Failed to find timestamp %"PRId64 " in index %"PRId64 " .. %"PRId64 "\n",
+ av_log(s, AV_LOG_DEBUG, "Failed to find timestamp %"PRId64 " in index %"PRId64 " .. %"PRId64 "\n",
timestamp * FFMAX(ast->sample_size, 1),
st->index_entries[0].timestamp,
st->index_entries[st->nb_index_entries - 1].timestamp);