summaryrefslogtreecommitdiff
path: root/fftools/ffprobe.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-25 03:11:32 +0100
committerJames Almer <jamrial@gmail.com>2021-04-27 10:43:08 -0300
commit56450a0ee4fdda160f4039fc2ae33edfd27765c9 (patch)
treea7566fa8dba9d38e4c748db1d1e673aee09c5244 /fftools/ffprobe.c
parentf0c7fa2c484e197dae05fbda70a15b5e2ce81e9a (diff)
avformat: Constify the API wrt AV(In|Out)putFormat
Also constify AVProbeData. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'fftools/ffprobe.c')
-rw-r--r--fftools/ffprobe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c
index a2cb7dc986..13ed16431d 100644
--- a/fftools/ffprobe.c
+++ b/fftools/ffprobe.c
@@ -257,7 +257,7 @@ static const OptionDef *options;
/* FFprobe context */
static const char *input_filename;
static const char *print_input_filename;
-static AVInputFormat *iformat = NULL;
+static const AVInputFormat *iformat = NULL;
static struct AVHashContext *hash;