summaryrefslogtreecommitdiff
path: root/libavformat/yuv4mpeg.c
diff options
context:
space:
mode:
authorStefan Huehner <stefan@huehner.org>2006-06-17 15:53:23 +0000
committerDiego Biurrun <diego@biurrun.de>2006-06-17 15:53:23 +0000
commita97c1e93aa3c1fbb7cde0699b36ea9be466c6a52 (patch)
treefa39edd0203e307b8d730eec10e717b918f06c1f /libavformat/yuv4mpeg.c
parentc8e9f801762f325e155dacd424226fd0d382c591 (diff)
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/yuv4mpeg.c')
-rw-r--r--libavformat/yuv4mpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/yuv4mpeg.c b/libavformat/yuv4mpeg.c
index dd623205da..9993de43b4 100644
--- a/libavformat/yuv4mpeg.c
+++ b/libavformat/yuv4mpeg.c
@@ -35,7 +35,7 @@ static int yuv4_generate_header(AVFormatContext *s, char* buf)
int width, height;
int raten, rated, aspectn, aspectd, n;
char inter;
- char *colorspace = "";
+ const char *colorspace = "";
st = s->streams[0];
width = st->codec->width;