[FFmpeg-cvslog] r14850 - trunk/libavcodec/snow.c

diego subversion
Tue Aug 19 22:04:46 CEST 2008


Author: diego
Date: Tue Aug 19 22:04:46 2008
New Revision: 14850

Log:
cosmetics: s/const static/static const/g
patch by Mathieu Malaterre, mathieu.malaterre gmail com


Modified:
   trunk/libavcodec/snow.c

Modified: trunk/libavcodec/snow.c
==============================================================================
--- trunk/libavcodec/snow.c	(original)
+++ trunk/libavcodec/snow.c	Tue Aug 19 22:04:46 2008
@@ -2100,7 +2100,7 @@ static void decode_blocks(SnowContext *s
 }
 
 static void mc_block(Plane *p, uint8_t *dst, const uint8_t *src, uint8_t *tmp, int stride, int b_w, int b_h, int dx, int dy){
-    const static uint8_t weight[64]={
+    static const uint8_t weight[64]={
     8,7,6,5,4,3,2,1,
     7,7,0,0,0,0,0,1,
     6,0,6,0,0,0,2,0,
@@ -2111,7 +2111,7 @@ static void mc_block(Plane *p, uint8_t *
     1,7,0,0,0,0,0,1,
     };
 
-    const static uint8_t brane[256]={
+    static const uint8_t brane[256]={
     0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x11,0x12,0x12,0x12,0x12,0x12,0x12,0x12,
     0x04,0x05,0xcc,0xcc,0xcc,0xcc,0xcc,0x41,0x15,0x16,0xcc,0xcc,0xcc,0xcc,0xcc,0x52,
     0x04,0xcc,0x05,0xcc,0xcc,0xcc,0x41,0xcc,0x15,0xcc,0x16,0xcc,0xcc,0xcc,0x52,0xcc,
@@ -2130,7 +2130,7 @@ static void mc_block(Plane *p, uint8_t *
     0x48,0x85,0xcc,0xcc,0xcc,0xcc,0xcc,0x49,0x59,0x96,0xcc,0xcc,0xcc,0xcc,0xcc,0x5A,
     };
 
-    const static uint8_t needs[16]={
+    static const uint8_t needs[16]={
     0,1,0,0,
     2,4,2,0,
     0,1,0,0,




More information about the ffmpeg-cvslog mailing list