]> git.sesse.net Git - ffmpeg/blobdiff - doc/examples/muxing.c
avformat: Constify the API wrt AV(In|Out)putFormat
[ffmpeg] / doc / examples / muxing.c
index 42f704c258ba55ef96a59d2695e7ea74e3718139..014359e2caedf2223efe41991e21a79795f2604a 100644 (file)
@@ -536,8 +536,8 @@ static void close_stream(AVFormatContext *oc, OutputStream *ost)
 int main(int argc, char **argv)
 {
     OutputStream video_st = { 0 }, audio_st = { 0 };
+    const AVOutputFormat *fmt;
     const char *filename;
-    AVOutputFormat *fmt;
     AVFormatContext *oc;
     AVCodec *audio_codec, *video_codec;
     int ret;