On Sat, Oct 26, 2019 at 22:18:32 +0800, [email protected] wrote:
> AVInputFormat *fmt = NULL;
> + void *fmt_opaque = NULL;
>
> - while ((fmt = av_iformat_next(fmt))) {
> + while ((fmt = av_demuxer_iterate(&fmt_opaque))) {
Doesn't this give you (new) warnings? fmt needs to be const now:
const AVInputFormat *fmt = NULL;
as far as I can tell.
icc should give you:
warning #2332: a value of type "const AVInputFormat *" cannot be assigned to an
entity of type "AVInputFormat *" (dropping qualifiers)
Cheers,
Moritz
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".