]> git.sesse.net Git - nageru/blobdiff - shared/ffmpeg_raii.h
Bump the version number.
[nageru] / shared / ffmpeg_raii.h
index 33d233480528dd8414e92b3fd32b04c1281d4ffa..00f7fc177af7fb45f124eb22b28c1bd57723ef85 100644 (file)
@@ -30,14 +30,19 @@ typedef std::unique_ptr<AVFormatContext, avformat_close_input_unique>
        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, const AVInputFormat *fmt, AVDictionary **options,
+       const AVIOInterruptCB &interrupt_cb);
+
 
 // AVCodecContext
 struct avcodec_free_context_unique {