2017-01-06 2:00 GMT+08:00 Michael Niedermayer <mich...@niedermayer.cc>:

> On Thu, Jan 05, 2017 at 08:40:56AM +0800, Steven Liu wrote:
> > CID: 1323076
> > Passing null pointer loc to avformat_new_stream, which dereferences it
>
> >  fix: because the vtt_oc maybe have not value, so fix it.
>
> hmm
>
> i think:
> this is wrong:
>         hls->vtt_oformat = av_guess_format("webvtt", NULL, NULL);
>         if (!hls->oformat) {
> above checks the wrong value
>
> then vtt_oformat should be non null
>
Ok, ignore this patch please :-D

>
>
> [...]
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> Breaking DRM is a little like attempting to break through a door even
> though the window is wide open and the only thing in the house is a bunch
> of things you dont want and which you would get tomorrow for free anyway
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
>
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to