]> git.sesse.net Git - nageru/blobdiff - shared/ffmpeg_raii.h
Support SRT inputs.
[nageru] / shared / ffmpeg_raii.h
index 33d233480528dd8414e92b3fd32b04c1281d4ffa..75675edfbebc470a262e42017ad8161c18dfcaed 100644 (file)
@@ -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 {