]> git.sesse.net Git - ffmpeg/blobdiff - libavdevice/internal.h
avformat: Constify the API wrt AV(In|Out)putFormat
[ffmpeg] / libavdevice / internal.h
index e222cf204d4ef9603b086c94c817b18fc6fefdd6..67c90e1f877c96674878b25f6d213a9e03c556a8 100644 (file)
@@ -22,7 +22,7 @@
 #include "libavformat/avformat.h"
 
 av_warn_unused_result
-int ff_alloc_input_device_context(struct AVFormatContext **avctx, struct AVInputFormat *iformat,
+int ff_alloc_input_device_context(struct AVFormatContext **avctx, const AVInputFormat *iformat,
                                   const char *format);
 
 #endif