2017-01-06 2:00 GMT+08:00 Michael Niedermayer :
> 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 w
2017-01-06 1:53 GMT+08:00 Michael Niedermayer :
> On Thu, Jan 05, 2017 at 08:28:56AM +0800, Steven Liu wrote:
> > CID: 1398228
> > Passing null pointer dirname to strlen, which dereferences it.
> >
> > Signed-off-by: Steven Liu
> > ---
> > libavformat/hlsenc.c | 4 ++--
> > 1 file changed, 2 ins
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, N
On Thu, Jan 05, 2017 at 08:28:56AM +0800, Steven Liu wrote:
> CID: 1398228
> Passing null pointer dirname to strlen, which dereferences it.
>
> Signed-off-by: Steven Liu
> ---
> libavformat/hlsenc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/libavformat/hlsenc.
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.
Signed-off-by: Steven Liu
---
libavformat/hlsenc.c | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/libavformat/hlsenc.c b
CID: 1398228
Passing null pointer dirname to strlen, which dereferences it.
Signed-off-by: Steven Liu
---
libavformat/hlsenc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index 808a797..3c6490a 100644
--- a/libavformat/hlsen