From f73008d820dd424b71f4df0d97aa915cbb78019b Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 4 Feb 2008 00:37:36 +0000 Subject: [PATCH] const Originally committed as revision 11844 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg.c b/ffmpeg.c index 3b2201fe38..4594c806c8 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -2612,7 +2612,7 @@ static void opt_input_ts_offset(const char *arg) static enum CodecID find_codec_or_die(const char *name, int type, int encoder) { - char *codec_string = encoder ? "encoder" : "decoder"; + const char *codec_string = encoder ? "encoder" : "decoder"; AVCodec *codec; if(!name)