X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=shared%2Fffmpeg_raii.h;h=75675edfbebc470a262e42017ad8161c18dfcaed;hb=2f8f882defb23abe8b2c54e195b72c57fba55cd6;hp=33d233480528dd8414e92b3fd32b04c1281d4ffa;hpb=eeda8995329601f9f4e35047358400833eeae68e;p=nageru diff --git a/shared/ffmpeg_raii.h b/shared/ffmpeg_raii.h index 33d2334..75675ed 100644 --- a/shared/ffmpeg_raii.h +++ b/shared/ffmpeg_raii.h @@ -38,6 +38,11 @@ AVFormatContextWithCloser avformat_open_input_unique( 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, + const AVIOInterruptCB &interrupt_cb); + // AVCodecContext struct avcodec_free_context_unique {