[FFmpeg-devel] [PATCH] lavu/hash.c: Add missing "static const".

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri Aug 29 18:34:52 CEST 2014


Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
---
 libavutil/hash.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/hash.c b/libavutil/hash.c
index 773f29e..979fdd9 100644
--- a/libavutil/hash.c
+++ b/libavutil/hash.c
@@ -63,7 +63,7 @@ typedef struct AVHashContext {
 struct {
     const char *name;
     int size;
-} hashdesc[] = {
+} static const hashdesc[] = {
     [MD5]     = {"MD5",     16},
     [MURMUR3] = {"murmur3", 16},
     [RIPEMD128] = {"RIPEMD128", 16},
-- 
2.1.0



More information about the ffmpeg-devel mailing list