summaryrefslogtreecommitdiff
path: root/fftools/ffplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'fftools/ffplay.c')
-rw-r--r--fftools/ffplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffplay.c b/fftools/ffplay.c
index ac0885b84e..471d4a2ac9 100644
--- a/fftools/ffplay.c
+++ b/fftools/ffplay.c
@@ -2573,7 +2573,7 @@ static int stream_component_open(VideoState *is, int stream_index)
{
AVFormatContext *ic = is->ic;
AVCodecContext *avctx;
- AVCodec *codec;
+ const AVCodec *codec;
const char *forced_codec_name = NULL;
AVDictionary *opts = NULL;
AVDictionaryEntry *t = NULL;