aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avidec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-02-18 03:42:10 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-02-18 03:42:10 +0100
commitc36010c286090ce7a1d7d3d61226d918d9a23490 (patch)
tree4fc85d074fef23600234d851be8ece76afe60eaf /libavformat/avidec.c
parentbfe7bace8e93485bebfed58944e30bf515e49ca4 (diff)
downloadffmpeg-c36010c286090ce7a1d7d3d61226d918d9a23490.tar.gz
avidec: remove harmless duplicate code.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r--libavformat/avidec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index a88ceb1de5..db4a6b09e3 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -1385,7 +1385,6 @@ static int avi_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp
st = s->streams[stream_index];
ast= st->priv_data;
index= av_index_search_timestamp(st, timestamp * FFMAX(ast->sample_size, 1), flags);
- if(index<0)
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",