changeset 1242:996ce2a68147 libavformat

Fix some "'static' is not at beginning of declaration" warnings.
author diego
date Tue, 08 Aug 2006 10:24:26 +0000
parents 11fbe0326131
children 088e77e1d06f
files amr.c psxstr.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/amr.c	Mon Aug 07 15:48:26 2006 +0000
+++ b/amr.c	Tue Aug 08 10:24:26 2006 +0000
@@ -135,7 +135,7 @@
 
     if (enc->codec_id == CODEC_ID_AMR_NB)
     {
-        const static uint8_t packed_size[16] = {12, 13, 15, 17, 19, 20, 26, 31, 5, 0, 0, 0, 0, 0, 0, 0};
+        static const uint8_t packed_size[16] = {12, 13, 15, 17, 19, 20, 26, 31, 5, 0, 0, 0, 0, 0, 0, 0};
         uint8_t toc, q, ft;
         int read;
         int size;
--- a/psxstr.c	Mon Aug 07 15:48:26 2006 +0000
+++ b/psxstr.c	Tue Aug 08 10:24:26 2006 +0000
@@ -80,7 +80,7 @@
     AVPacket tmp_pkt;
 } StrDemuxContext;
 
-const static char sync_header[12] = {0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00};
+static const char sync_header[12] = {0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00};
 
 static int str_probe(AVProbeData *p)
 {