diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-25 05:11:32 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-04-27 16:43:08 +0300 |
commit | 56450a0ee4fdda160f4039fc2ae33edfd27765c9 (patch) | |
tree | a7566fa8dba9d38e4c748db1d1e673aee09c5244 /libavformat/fifo.c | |
parent | f0c7fa2c484e197dae05fbda70a15b5e2ce81e9a (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 'libavformat/fifo.c')
-rw-r--r-- | libavformat/fifo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/fifo.c b/libavformat/fifo.c index 17748e94ce..78afaff197 100644 --- a/libavformat/fifo.c +++ b/libavformat/fifo.c @@ -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) { |