aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/asfdec.c
diff options
context:
space:
mode:
authorVladimir Pantelic <vladoman@gmail.com>2011-05-12 10:26:32 +0200
committerReinhard Tartler <siretart@tauware.de>2011-05-17 22:05:22 +0200
commitb58bc17cf72fcd79b6ed80faae2d0c88729def15 (patch)
tree0f916d5af1ad4ac305850fd583bfcb1a0ec2f270 /libavformat/asfdec.c
parentc7bd5edae4573d901583475608865c6f6ca64061 (diff)
downloadffmpeg-b58bc17cf72fcd79b6ed80faae2d0c88729def15.tar.gz
asfdec: reindent after previous commit c7bd5ed
Diffstat (limited to 'libavformat/asfdec.c')
-rw-r--r--libavformat/asfdec.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index e2161fda2a..f0c746ace2 100644
--- a/libavformat/asfdec.c
+++ b/libavformat/asfdec.c
@@ -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)){
index= av_index_search_timestamp(st, pts, flags);
if(index >= 0) {
- /* find the position */
- pos = st->index_entries[index].pos;
+ /* find the position */
+ pos = st->index_entries[index].pos;
- /* do the seek */
- av_log(s, AV_LOG_DEBUG, "SEEKTO: %"PRId64"\n", pos);
- avio_seek(s->pb, pos, SEEK_SET);
- asf_reset_header(s);
- return 0;
+ /* do the seek */
+ av_log(s, AV_LOG_DEBUG, "SEEKTO: %"PRId64"\n", pos);
+ avio_seek(s->pb, pos, SEEK_SET);
+ asf_reset_header(s);
+ return 0;
}
}
/* no index or seeking by index failed */