diff options
author | Stefan Huehner <stefan@huehner.org> | 2006-06-17 15:53:23 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-06-17 15:53:23 +0000 |
commit | a97c1e93aa3c1fbb7cde0699b36ea9be466c6a52 (patch) | |
tree | fa39edd0203e307b8d730eec10e717b918f06c1f /libavformat/matroska.c | |
parent | c8e9f801762f325e155dacd424226fd0d382c591 (diff) | |
download | ffmpeg-a97c1e93aa3c1fbb7cde0699b36ea9be466c6a52.tar.gz |
Add (mostly) const to variable and parameter declaration, where a char* was
used and 'const char*' should be, plus make some function declarations
static if they aren't used outside their declaring source file.
patch by Stefan Huehner stefan%%at%%huehner%%dot%%org
Originally committed as revision 5492 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/matroska.c')
-rw-r--r-- | libavformat/matroska.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/matroska.c b/libavformat/matroska.c index 9a1a69bc5a..3e33eccab9 100644 --- a/libavformat/matroska.c +++ b/libavformat/matroska.c @@ -183,14 +183,14 @@ typedef enum { */ typedef struct CodecTags{ - char *str; + const char *str; enum CodecID id; }CodecTags; #define MATROSKA_CODEC_ID_VIDEO_VFW_FOURCC "V_MS/VFW/FOURCC" #define MATROSKA_CODEC_ID_AUDIO_ACM "A_MS/ACM" -CodecTags codec_tags[]={ +static CodecTags codec_tags[]={ // {"V_MS/VFW/FOURCC" , CODEC_ID_NONE}, {"V_UNCOMPRESSED" , CODEC_ID_RAWVIDEO}, {"V_MPEG4/ISO/SP" , CODEC_ID_MPEG4}, |