Commit a65dfee1 authored by michael's avatar michael

indent


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7845 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e1ccc83e
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment