X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=shared%2Fffmpeg_raii.h;fp=shared%2Fffmpeg_raii.h;h=00f7fc177af7fb45f124eb22b28c1bd57723ef85;hb=bdc9f1ea04141e71906d486f9d254c3346835e72;hp=75675edfbebc470a262e42017ad8161c18dfcaed;hpb=6d7e33f5d48c4c0a7c5a163d4a16d564e43f6c43;p=nageru diff --git a/shared/ffmpeg_raii.h b/shared/ffmpeg_raii.h index 75675ed..00f7fc1 100644 --- a/shared/ffmpeg_raii.h +++ b/shared/ffmpeg_raii.h @@ -30,17 +30,17 @@ typedef std::unique_ptr AVFormatContextWithCloser; AVFormatContextWithCloser avformat_open_input_unique( - const char *pathname, AVInputFormat *fmt, + const char *pathname, const AVInputFormat *fmt, AVDictionary **options); AVFormatContextWithCloser avformat_open_input_unique( - const char *pathname, AVInputFormat *fmt, + const char *pathname, const AVInputFormat *fmt, AVDictionary **options, const AVIOInterruptCB &interrupt_cb); AVFormatContextWithCloser avformat_open_input_unique( int (*read_packet)(void *opaque, uint8_t *buf, int buf_size), - void *opaque, AVInputFormat *fmt, AVDictionary **options, + void *opaque, const AVInputFormat *fmt, AVDictionary **options, const AVIOInterruptCB &interrupt_cb);