diff --git a/ffmpeg.c b/ffmpeg.c index 3b2201fe381a7d03df9cab9816a2884caff7f817..4594c806c819c891fdf1ebd622db17c6466e4002 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)