$subject
>From 79b8b83dad63450e511961188337c8161df575d8 Mon Sep 17 00:00:00 2001
From: Vladimir Pantelic <[email protected]>
Date: Thu, 12 May 2011 10:23:22 +0200
Subject: [PATCH] reindent after previous commit 15f02f4d

---
 libavformat/asfdec.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index e2161fd..f0c746a 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 */
-- 
1.6.0.2

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to