]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/fifo.c
avformat: Constify the API wrt AV(In|Out)putFormat
[ffmpeg] / libavformat / fifo.c
index 17748e94ce5f249aa77e140d166e74c6692a39cd..78afaff197d88a373cde7100439c4e9272644279 100644 (file)
@@ -469,7 +469,7 @@ static void *fifo_consumer_thread(void *data)
     return NULL;
 }
 
-static int fifo_mux_init(AVFormatContext *avf, ff_const59 AVOutputFormat *oformat,
+static int fifo_mux_init(AVFormatContext *avf, const AVOutputFormat *oformat,
                          const char *filename)
 {
     FifoContext *fifo = avf->priv_data;
@@ -508,7 +508,7 @@ static int fifo_mux_init(AVFormatContext *avf, ff_const59 AVOutputFormat *oforma
 static int fifo_init(AVFormatContext *avf)
 {
     FifoContext *fifo = avf->priv_data;
-    ff_const59 AVOutputFormat *oformat;
+    const AVOutputFormat *oformat;
     int ret = 0;
 
     if (fifo->recovery_wait_streamtime && !fifo->drop_pkts_on_overflow) {