OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68fac5c
)
avidec: Reduce log level for out of index error message.
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 18 Feb 2012 02:44:17 +0000
(
03:44
+0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 21 Feb 2012 22:55:47 +0000
(23:55 +0100)
Its otherwise spaming every time one tries to seek to outside
the file.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/avidec.c
patch
|
blob
|
history
diff --git
a/libavformat/avidec.c
b/libavformat/avidec.c
index
db4a6b0
..
efa1bb5
100644
(file)
--- 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);