From ed4e20ac7fb83bddf4c9a1fc65f30821dcbc7935 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 8 Aug 2006 10:24:26 +0000 Subject: Fix some "'static' is not at beginning of declaration" warnings. Originally committed as revision 5956 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/amr.c | 2 +- libavformat/psxstr.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat') diff --git a/libavformat/amr.c b/libavformat/amr.c index ee0ea47f1b..bac9fbe44f 100644 --- a/libavformat/amr.c +++ b/libavformat/amr.c @@ -135,7 +135,7 @@ static int amr_read_packet(AVFormatContext *s, 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; diff --git a/libavformat/psxstr.c b/libavformat/psxstr.c index b4a4ac0590..8b026be250 100644 --- a/libavformat/psxstr.c +++ b/libavformat/psxstr.c @@ -80,7 +80,7 @@ typedef struct StrDemuxContext { 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) { -- cgit v1.2.3