[SCM] libav/experimental: indent

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:55:59 UTC 2013


The following commit has been merged in the experimental branch:
commit 4323b09d380081bd2be32fb580214743d4ad5161
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Mon Feb 5 23:16:01 2007 +0000

    indent
    
    Originally committed as revision 7845 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index 90fc6b3..e7a8410 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -626,17 +626,17 @@ resync:
             pkt->stream_index = avi->stream_index;
 
             if (st->codec->codec_type == CODEC_TYPE_VIDEO) {
-                    AVIndexEntry *e;
-                    int index;
+                AVIndexEntry *e;
+                int index;
                 assert(st->index_entries);
 
-                    index= av_index_search_timestamp(st, pkt->dts, 0);
-                    e= &st->index_entries[index];
+                index= av_index_search_timestamp(st, pkt->dts, 0);
+                e= &st->index_entries[index];
 
-                    if(index >= 0 && e->timestamp == ast->frame_offset){
-                        if (e->flags & AVINDEX_KEYFRAME)
-                            pkt->flags |= PKT_FLAG_KEY;
-                    }
+                if(index >= 0 && e->timestamp == ast->frame_offset){
+                    if (e->flags & AVINDEX_KEYFRAME)
+                        pkt->flags |= PKT_FLAG_KEY;
+                }
             } else {
                 pkt->flags |= PKT_FLAG_KEY;
             }

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list