mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
avformat: Constify the API wrt AV(In|Out)putFormat
Also constify AVProbeData. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
committed by
James Almer
parent
f0c7fa2c48
commit
56450a0ee4
@@ -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
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
#include "libavutil/opt.h"
|
||||
#include "libavformat/avformat.h"
|
||||
|
||||
int ff_alloc_input_device_context(AVFormatContext **avctx, AVInputFormat *iformat, const char *format)
|
||||
int ff_alloc_input_device_context(AVFormatContext **avctx, const AVInputFormat *iformat, const char *format)
|
||||
{
|
||||
AVFormatContext *s;
|
||||
int ret = 0;
|
||||
|
||||
Reference in New Issue
Block a user