diff options
author | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2019-03-20 18:38:48 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2019-03-20 18:38:48 +0100 |
commit | 9461e4bc694b8d95d4224226b9781f8166d969b1 (patch) | |
tree | 0afbbbdc360ff96343978dd63f615b146b7d5c65 /libavformat/fifo.c | |
parent | 4602456c4f18d111131d4d6a1d0a150474c74d58 (diff) | |
download | ffmpeg-9461e4bc694b8d95d4224226b9781f8166d969b1.tar.gz |
lavf: Constify AVOutputFormat pointer.
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 145e2e2660..b403ba717b 100644 --- a/libavformat/fifo.c +++ b/libavformat/fifo.c @@ -442,7 +442,7 @@ static void *fifo_consumer_thread(void *data) return NULL; } -static int fifo_mux_init(AVFormatContext *avf, AVOutputFormat *oformat, +static int fifo_mux_init(AVFormatContext *avf, ff_const59 AVOutputFormat *oformat, const char *filename) { FifoContext *fifo = avf->priv_data; @@ -481,7 +481,7 @@ static int fifo_mux_init(AVFormatContext *avf, AVOutputFormat *oformat, static int fifo_init(AVFormatContext *avf) { FifoContext *fifo = avf->priv_data; - AVOutputFormat *oformat; + ff_const59 AVOutputFormat *oformat; int ret = 0; if (fifo->recovery_wait_streamtime && !fifo->drop_pkts_on_overflow) { |