From 3aa6208db9666c0f1351855262d8c839002d9de1 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Wed, 20 Mar 2019 18:52:38 +0100 Subject: lavf: Constify AVInputFormat pointer. --- libavformat/img2dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/img2dec.c') diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c index ecec4988b2..685f0cda4f 100644 --- a/libavformat/img2dec.c +++ b/libavformat/img2dec.c @@ -424,7 +424,7 @@ int ff_img_read_packet(AVFormatContext *s1, AVPacket *pkt) if (par->codec_id == AV_CODEC_ID_NONE) { AVProbeData pd = { 0 }; - AVInputFormat *ifmt; + const AVInputFormat *ifmt; uint8_t header[PROBE_BUF_MIN + AVPROBE_PADDING_SIZE]; int ret; int score = 0; -- cgit v1.2.3