summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-02-05 23:16:01 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-02-05 23:16:01 +0000
commit4323b09d380081bd2be32fb580214743d4ad5161 (patch)
tree40f6965d5543a885a4485905e593ba4509cd4f25 /libavformat
parent716ae7caf80374eb6d4f2565815ffe0c12be3469 (diff)
indent
Originally committed as revision 7845 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/avidec.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index 90fc6b383f..e7a84107d2 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;
}