summaryrefslogtreecommitdiff
path: root/doc/examples/remuxing.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 /doc/examples/remuxing.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 'doc/examples/remuxing.c')
-rw-r--r--doc/examples/remuxing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/remuxing.c b/doc/examples/remuxing.c
index 9e4d1031b4..13313a1748 100644
--- a/doc/examples/remuxing.c
+++ b/doc/examples/remuxing.c
@@ -45,7 +45,7 @@ static void log_packet(const AVFormatContext *fmt_ctx, const AVPacket *pkt, cons
int main(int argc, char **argv)
{
- AVOutputFormat *ofmt = NULL;
+ const AVOutputFormat *ofmt = NULL;
AVFormatContext *ifmt_ctx = NULL, *ofmt_ctx = NULL;
AVPacket pkt;
const char *in_filename, *out_filename;