OSDN Git Service

const
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 4 Feb 2008 00:37:36 +0000 (00:37 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 4 Feb 2008 00:37:36 +0000 (00:37 +0000)
Originally committed as revision 11844 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index 3b2201f..4594c80 100644 (file)
--- 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)