mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 14:15:29 +01:00
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>
This commit is contained in:
committed by
James Almer
parent
f0c7fa2c48
commit
56450a0ee4
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user