[FFmpeg-cvslog] tools: fix const specifier for AVInputFormat

Josh de Kock git at videolan.org
Thu Apr 30 12:26:11 EEST 2020


ffmpeg | branch: master | Josh de Kock <josh at itanimul.li> | Wed Apr 29 11:45:49 2020 +0100| [d817b57d36795b22dc493ef66e3ed14a583cae49] | committer: Josh de Kock

tools: fix const specifier for AVInputFormat

Signed-off-by: Josh de Kock <josh at itanimul.li>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d817b57d36795b22dc493ef66e3ed14a583cae49
---

 tools/probetest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/probetest.c b/tools/probetest.c
index cfa309cabd..6f0e002b74 100644
--- a/tools/probetest.c
+++ b/tools/probetest.c
@@ -66,7 +66,7 @@ static void probe(AVProbeData *pd, int type, int p, int size)
 static void print_times(void)
 {
     int i = 0;
-    AVInputFormat *fmt = NULL;
+    const AVInputFormat *fmt = NULL;
     void *fmt_opaque = NULL;
 
     while ((fmt = av_demuxer_iterate(&fmt_opaque))) {



More information about the ffmpeg-cvslog mailing list