Commit b58bc17c authored by Vladimir Pantelic's avatar Vladimir Pantelic Committed by Reinhard Tartler

asfdec: reindent after previous commit c7bd5eda

parent c7bd5eda
...@@ -1272,14 +1272,14 @@ static int asf_read_seek(AVFormatContext *s, int stream_index, int64_t pts, int ...@@ -1272,14 +1272,14 @@ static int asf_read_seek(AVFormatContext *s, int stream_index, int64_t pts, int
if((asf->index_read && st->index_entries)){ if((asf->index_read && st->index_entries)){
index= av_index_search_timestamp(st, pts, flags); index= av_index_search_timestamp(st, pts, flags);
if(index >= 0) { if(index >= 0) {
/* find the position */ /* find the position */
pos = st->index_entries[index].pos; pos = st->index_entries[index].pos;
/* do the seek */ /* do the seek */
av_log(s, AV_LOG_DEBUG, "SEEKTO: %"PRId64"\n", pos); av_log(s, AV_LOG_DEBUG, "SEEKTO: %"PRId64"\n", pos);
avio_seek(s->pb, pos, SEEK_SET); avio_seek(s->pb, pos, SEEK_SET);
asf_reset_header(s); asf_reset_header(s);
return 0; return 0;
} }
} }
/* no index or seeking by index failed */ /* no index or seeking by index failed */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment