[FFmpeg-cvslog] avutil/parseutils:make const tables static const

Michael Niedermayer git at videolan.org
Sun Aug 11 17:46:42 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Aug 11 16:50:24 2013 +0200| [22159474381c4c2fdd465ed0ea34ca84249f5a4a] | committer: Michael Niedermayer

avutil/parseutils:make const tables static const

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=22159474381c4c2fdd465ed0ea34ca84249f5a4a
---

 libavutil/parseutils.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavutil/parseutils.c b/libavutil/parseutils.c
index f2f8f18..5797e9e 100644
--- a/libavutil/parseutils.c
+++ b/libavutil/parseutils.c
@@ -824,13 +824,13 @@ int main(void)
         time_t tvi;
         struct tm *tm;
         static char tzstr[] = "TZ=CET-1";
-        const char *time_string[] = {
+        static const char * const time_string[] = {
             "now",
             "12:35:46",
             "2000-12-20 0:02:47.5z",
             "2000-12-20T010247.6",
         };
-        const char *duration_string[] = {
+        static const char * const duration_string[] = {
             "2:34:56.79",
             "-1:23:45.67",
             "42.1729",



More information about the ffmpeg-cvslog mailing list