On Sat, Oct 26, 2019 at 22:18:32 +0800, zhongli_...@126.com 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
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to