summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
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)