[FFmpeg-cvslog] asfdec: reindent after previous commit c7bd5ed

Vladimir Pantelic git at videolan.org
Wed May 18 05:59:20 CEST 2011


ffmpeg | branch: master | Vladimir Pantelic <vladoman at gmail.com> | Thu May 12 10:26:32 2011 +0200| [b58bc17cf72fcd79b6ed80faae2d0c88729def15] | committer: Reinhard Tartler

asfdec: reindent after previous commit c7bd5ed

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b58bc17cf72fcd79b6ed80faae2d0c88729def15
---

 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 */



More information about the ffmpeg-cvslog mailing list