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:
parent
f0c7fa2c48
commit
56450a0ee4
29 changed files with 84 additions and 78 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue