changeset 1758:c04b60df411a libavformat

indent
author michael
date Mon, 05 Feb 2007 23:16:01 +0000
parents 9d217a18aa49
children 9eaf71a70ac1
files avidec.c
diffstat 1 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/avidec.c	Mon Feb 05 23:06:08 2007 +0000
+++ b/avidec.c	Mon Feb 05 23:16:01 2007 +0000
@@ -626,17 +626,17 @@
             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;
             }