]> git.sesse.net Git - ffmpeg/blobdiff - doc/examples/filtering_audio.c
avformat/avformat, utils: Make av_find_best_stream const-correct
[ffmpeg] / doc / examples / filtering_audio.c
index 834b137cd93fb89b3e83fc8a15f18a5c5193c1b9..508c19c60bfce641c9aeefc4fc625a6bf2432408 100644 (file)
@@ -48,8 +48,8 @@ static int audio_stream_index = -1;
 
 static int open_input_file(const char *filename)
 {
+    const AVCodec *dec;
     int ret;
-    AVCodec *dec;
 
     if ((ret = avformat_open_input(&fmt_ctx, filename, NULL, NULL)) < 0) {
         av_log(NULL, AV_LOG_ERROR, "Cannot open input file\n");