]> git.sesse.net Git - ffmpeg/blobdiff - doc/examples/remuxing.c
avformat: Constify the API wrt AV(In|Out)putFormat
[ffmpeg] / doc / examples / remuxing.c
index 9e4d1031b4a59761617b7de3c1dac5d97b5191cb..13313a17486505ce23334c54da01372166efca78 100644 (file)
@@ -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;