[FFmpeg-devel] [PATCH] avformat/hlsenc: fix Explicit null dereferenced
Steven Liu
lingjiujianke at gmail.com
Fri Jan 6 00:37:35 EET 2017
2017-01-06 2:00 GMT+08:00 Michael Niedermayer <michael at 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 at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
>
More information about the ffmpeg-devel
mailing list