Skip to content

Commit

Permalink
All C and H files annotated to tell Vim or [X]Emacs to use 2-space in…
Browse files Browse the repository at this point in the history
…dentation

and not to use tabs within indentation.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4012
  • Loading branch information
tibs committed Jun 14, 2008
1 parent 0e51851 commit 4ce892d
Show file tree
Hide file tree
Showing 75 changed files with 516 additions and 0 deletions.
7 changes: 7 additions & 0 deletions accessunit.c
Original file line number Diff line number Diff line change
Expand Up @@ -1430,3 +1430,10 @@ extern int access_unit_has_PTS(access_unit_p access_unit)
}
return FALSE;
}

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions accessunit_defns.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,10 @@ struct access_unit_context
#define SIZEOF_ACCESS_UNIT_CONTEXT sizeof(struct access_unit_context)

#endif // _accessunit_defns

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions accessunit_fns.h
Original file line number Diff line number Diff line change
Expand Up @@ -296,3 +296,10 @@ extern int get_next_h264_frame(access_unit_context_p context,
extern int access_unit_has_PTS(access_unit_p access_unit);

#endif // _accessunit_fns

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions adts.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,3 +154,10 @@ extern int read_next_adts_frame(int file,

return 0;
}

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions adts_defns.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,10 @@
// AAC ADTS provides audio in frames of constant time

#endif // _adts_defns

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions adts_fns.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,10 @@ extern int read_next_adts_frame(int file,


#endif // _adts_fns

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,10 @@ extern int read_next_audio_frame(int file,
return 1;
}
}

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions audio_defns.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,10 @@ typedef struct audio_frame *audio_frame_p;


#endif // _audio_defns

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions audio_fns.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,10 @@ extern int read_next_audio_frame(int file,
audio_frame_p *frame);

#endif // _audio_fns

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
6 changes: 6 additions & 0 deletions avs.c
Original file line number Diff line number Diff line change
Expand Up @@ -872,3 +872,9 @@ extern void report_avs_frame(FILE *stream,
report_ES_unit_list(stream,"ES units",frame->list);
}

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions avs_defns.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,10 @@ struct avs_context
#define SIZEOF_AVS_CONTEXT sizeof(struct avs_context)

#endif // _avs_defns

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions avs_fns.h
Original file line number Diff line number Diff line change
Expand Up @@ -194,3 +194,10 @@ extern void report_avs_frame(FILE *stream,
int report_data);

#endif // _avs_fns

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions bitdata.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,3 +245,10 @@ extern int read_signed_exp_golomb(bitdata_p bitdata,
return 0;
}


// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions bitdata_defns.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,10 @@ typedef struct bitdata *bitdata_p;
#define SIZEOF_BITDATA sizeof(struct bitdata)

#endif // _bitdata_defns

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions bitdata_fns.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,10 @@ extern int read_signed_exp_golomb(bitdata_p bitdata,


#endif // _bitdata_fns

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,3 +152,10 @@ typedef void * void_p;
#define DEFAULT_PMT_PID 0x66

#endif /* _compat */

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions es.c
Original file line number Diff line number Diff line change
Expand Up @@ -1628,3 +1628,10 @@ extern int decide_ES_file_video_type(int input,
}
return 0;
}

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions es2ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -429,3 +429,10 @@ int main(int argc, char **argv)
else
return 0;
}

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions es_defns.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,10 @@ typedef struct ES_unit_list *ES_unit_list_p;
#define ES_UNIT_LIST_INCREMENT 20

#endif // _es_defns

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions es_fns.h
Original file line number Diff line number Diff line change
Expand Up @@ -413,3 +413,10 @@ extern int decide_ES_file_video_type(int input,
int show_reasoning,
int *video_type);
#endif // _es_fns

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions esdots.c
Original file line number Diff line number Diff line change
Expand Up @@ -843,3 +843,10 @@ int main(int argc, char **argv)
}
return 0;
}

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions esfilter.c
Original file line number Diff line number Diff line change
Expand Up @@ -1143,3 +1143,10 @@ int main(int argc, char **argv)
}
return 0;
}

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions esmerge.c
Original file line number Diff line number Diff line change
Expand Up @@ -849,3 +849,10 @@ int main(int argc, char **argv)
}
return 0;
}

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions esreport.c
Original file line number Diff line number Diff line change
Expand Up @@ -1237,3 +1237,10 @@ int main(int argc, char **argv)
return 0;
}


// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions esreverse.c
Original file line number Diff line number Diff line change
Expand Up @@ -760,3 +760,10 @@ int main(int argc, char **argv)
}
return 0;
}

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
6 changes: 6 additions & 0 deletions filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -873,3 +873,9 @@ extern int get_next_filtered_h264_frame(h264_filter_context_p fcontext,
}
}

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions filter_defns.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,10 @@ typedef struct h264_filter_context *h264_filter_context_p;
#define SIZEOF_H264_FILTER_CONTEXT sizeof(struct h264_filter_context)

#endif // _filter_defns

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions filter_fns.h
Original file line number Diff line number Diff line change
Expand Up @@ -260,3 +260,10 @@ extern int get_next_filtered_h264_frame(h264_filter_context_p fcontext,


#endif // _filter_fns

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions fmtx.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,10 @@ fmtx_str_to_timestamp_flags(const TCHAR * arg_str)
}
return p->flags;
}

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions fmtx.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,10 @@ typedef char TCHAR;

const TCHAR * fmtx_timestamp(int64 n, unsigned int flags);
int fmtx_str_to_timestamp_flags(const TCHAR * arg_str);

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions h222_defns.h
Original file line number Diff line number Diff line change
Expand Up @@ -237,3 +237,10 @@ struct timing
typedef struct timing *timing_p;

#endif // _h222_defns

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
6 changes: 6 additions & 0 deletions h262.c
Original file line number Diff line number Diff line change
Expand Up @@ -1196,3 +1196,9 @@ extern void report_h262_picture(FILE *stream,
report_ES_unit_list(stream,"ES units",picture->list);
}

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions h262_defns.h
Original file line number Diff line number Diff line change
Expand Up @@ -246,3 +246,10 @@ struct h262_context
#define SIZEOF_H262_CONTEXT sizeof(struct h262_context)

#endif // _h262_defns

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions h262_fns.h
Original file line number Diff line number Diff line change
Expand Up @@ -233,3 +233,10 @@ extern void report_h262_picture(FILE *stream,
int report_data);

#endif // _h262_fns

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions l2audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -373,3 +373,10 @@ extern int read_next_l2audio_frame(int file,

return 0;
}

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
7 changes: 7 additions & 0 deletions l2audio_fns.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,10 @@ extern void free_audio_frame(audio_frame_p *frame);
extern int read_next_l2audio_frame(int file,
audio_frame_p *frame);
#endif // _l2audio_fns

// Local Variables:
// tab-width: 8
// indent-tabs-mode: nil
// c-basic-offset: 2
// End:
// vim: set tabstop=8 shiftwidth=2 expandtab:
Loading

0 comments on commit 4ce892d

Please sign in to comment.