Mercurial > mplayer.hg
comparison libmpdemux/asfheader.c @ 19108:5e767cabf4cd
marks several read-only string parameters and function return-values which can only be used read-only as const. Patch by Stefan Huehner, stefan _AT huener-org
author | reynaldo |
---|---|
date | Sun, 16 Jul 2006 01:20:30 +0000 |
parents | 83c3afeab35d |
children | c23bd9485604 |
comparison
equal
deleted
inserted
replaced
19107:251872bee3e0 | 19108:5e767cabf4cd |
---|---|
75 void print_asf_string(const char* name, char* string, int length) { | 75 void print_asf_string(const char* name, char* string, int length) { |
76 pack_asf_string(string, length); | 76 pack_asf_string(string, length); |
77 mp_msg(MSGT_HEADER,MSGL_V,"%s%s\n", name, string); | 77 mp_msg(MSGT_HEADER,MSGL_V,"%s%s\n", name, string); |
78 } | 78 } |
79 | 79 |
80 static char* asf_chunk_type(unsigned char* guid) { | 80 static const char* asf_chunk_type(unsigned char* guid) { |
81 static char tmp[60]; | 81 static char tmp[60]; |
82 char *p; | 82 char *p; |
83 int i; | 83 int i; |
84 | 84 |
85 switch(ASF_LOAD_GUID_PREFIX(guid)){ | 85 switch(ASF_LOAD_GUID_PREFIX(guid)){ |