On Sun, Feb 14, 2021 at 5:58 PM Carl Eugen Hoyos <[email protected]> wrote:

> Am So., 14. Feb. 2021 um 17:53 Uhr schrieb Nuo Mi <[email protected]>:
> >
> > ---
> >  libavformat/protocols.c | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/libavformat/protocols.c b/libavformat/protocols.c
> > index 7df18fbb3b..0b43f66baf 100644
> > --- a/libavformat/protocols.c
> > +++ b/libavformat/protocols.c
> > @@ -111,10 +111,10 @@ const AVClass
> *ff_urlcontext_child_class_iterate(void **iter)
> >
> >  const char *avio_enum_protocols(void **opaque, int output)
> >  {
> > -    const URLProtocol **p = *opaque;
> > +    const URLProtocol *const *p = *opaque;
> >
> >      p = p ? p + 1 : url_protocols;
> > -    *opaque = p;
> > +    *opaque = (void*)p;
>
> I suspect that this is wrong, only avconv's protocols were const.
>
>
That is not valid explanation.


> Carl Eugen
> _______________________________________________
> 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".
_______________________________________________
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".

Reply via email to