diff options
author | Alex Converse <alex.converse@gmail.com> | 2012-02-20 00:42:33 -0800 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2012-02-21 09:47:07 -0800 |
commit | b0f29db5c2b8d1b7de2ccac815e33090e8c49cff (patch) | |
tree | 0d70e97046f81fcd84e8c11eec7947037e45f760 /avprobe.c | |
parent | e48a70e6da02cd5426b6340af70410bdfe27dfa7 (diff) | |
download | ffmpeg-b0f29db5c2b8d1b7de2ccac815e33090e8c49cff.tar.gz |
Mark mutable static data const where appropriate.
Diffstat (limited to 'avprobe.c')
-rw-r--r-- | avprobe.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -48,13 +48,13 @@ static const OptionDef options[]; static const char *input_filename; static AVInputFormat *iformat = NULL; -static const char *binary_unit_prefixes [] = { "", "Ki", "Mi", "Gi", "Ti", "Pi" }; -static const char *decimal_unit_prefixes[] = { "", "K" , "M" , "G" , "T" , "P" }; +static const char *const binary_unit_prefixes [] = { "", "Ki", "Mi", "Gi", "Ti", "Pi" }; +static const char *const decimal_unit_prefixes[] = { "", "K" , "M" , "G" , "T" , "P" }; -static const char *unit_second_str = "s" ; -static const char *unit_hertz_str = "Hz" ; -static const char *unit_byte_str = "byte" ; -static const char *unit_bit_per_second_str = "bit/s"; +static const char unit_second_str[] = "s" ; +static const char unit_hertz_str[] = "Hz" ; +static const char unit_byte_str[] = "byte" ; +static const char unit_bit_per_second_str[] = "bit/s"; void exit_program(int ret) { |