[Ffmpeg-cvslog] r7845 - trunk/libavformat/avidec.c

michael subversion
Tue Feb 6 00:16:01 CET 2007


Author: michael
Date: Tue Feb  6 00:16:01 2007
New Revision: 7845

Modified:
   trunk/libavformat/avidec.c

Log:
indent


Modified: trunk/libavformat/avidec.c
==============================================================================
--- trunk/libavformat/avidec.c	(original)
+++ trunk/libavformat/avidec.c	Tue Feb  6 00:16:01 2007
@@ -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;
             }




More information about the ffmpeg-cvslog mailing list