]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/lavfutils.c
avformat: Constify the API wrt AV(In|Out)putFormat
[ffmpeg] / libavfilter / lavfutils.c
index 34051ee61db10a8ca1b529ae154abdb609f96820..2bc06257c6fa6ef30672c0a0ab374b469f525d36 100644 (file)
@@ -26,7 +26,7 @@ int ff_load_image(uint8_t *data[4], int linesize[4],
                   int *w, int *h, enum AVPixelFormat *pix_fmt,
                   const char *filename, void *log_ctx)
 {
-    AVInputFormat *iformat = NULL;
+    const AVInputFormat *iformat = NULL;
     AVFormatContext *format_ctx = NULL;
     const AVCodec *codec;
     AVCodecContext *codec_ctx = NULL;