Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2012-02-20 12:42:33 +0400
committerAlex Converse <alex.converse@gmail.com>2012-02-21 21:47:07 +0400
commitb0f29db5c2b8d1b7de2ccac815e33090e8c49cff (patch)
tree0d70e97046f81fcd84e8c11eec7947037e45f760 /avprobe.c
parente48a70e6da02cd5426b6340af70410bdfe27dfa7 (diff)
Mark mutable static data const where appropriate.
Diffstat (limited to 'avprobe.c')
-rw-r--r--avprobe.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/avprobe.c b/avprobe.c
index 799b32522f..fe2b6e2860 100644
--- a/avprobe.c
+++ b/avprobe.c
@@ -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)
{