aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/img2dec.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-03-20 18:52:38 +0100
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-03-20 18:52:38 +0100
commit3aa6208db9666c0f1351855262d8c839002d9de1 (patch)
treee65953de8f56fdb4f063173435599d052926effc /libavformat/img2dec.c
parent9461e4bc694b8d95d4224226b9781f8166d969b1 (diff)
downloadffmpeg-3aa6208db9666c0f1351855262d8c839002d9de1.tar.gz
lavf: Constify AVInputFormat pointer.
Diffstat (limited to 'libavformat/img2dec.c')
-rw-r--r--libavformat/img2dec.c2
1 files changed, 1 insertions, 1 deletions
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;