Re: [FFmpeg-devel] [PATCH] libavformat/dashdec: Fix for ticket 6658 (Dash demuxer segfault)

2018-01-04 Thread Moritz Barsnick
On Thu, Jan 04, 2018 at 00:42:43 +, Colin NG wrote: > @@ -1315,6 +1426,7 @@ static int read_from_url(struct representation *pls, > struct fragment *seg, > } else { > ret = avio_read(pls->input, buf, buf_size); > } > + > if (ret > 0) > pls->cur_seg_offset +=

Re: [FFmpeg-devel] [PATCH] libavformat/dashdec: Fix for ticket 6658 (Dash demuxer segfault)

2018-01-03 Thread 刘歧
> On 4 Jan 2018, at 08:42, Colin NG wrote: > > - Add function 'resolve_content_path' to propagate the baseURL from upper > level nodes. > * if no baseURL is available, the path of mpd file will be set as the baseURL. > - Remove checking for newly established connection. >

Re: [FFmpeg-devel] [PATCH] libavformat/dashdec: Fix for ticket 6658 (Dash demuxer segfault)

2017-12-26 Thread Tomas Härdin
tis 2017-12-26 klockan 01:12 + skrev Colin NG: > +static int resolve_content_path(AVFormatContext *s, const char *url, > xmlNodePtr *baseurl_nodes, int n_baseurl_nodes) { > + > +char *tmp_str = av_mallocz(MAX_URL_SIZE); > +char *path = av_mallocz(MAX_URL_SIZE); > +char *mpdName =

Re: [FFmpeg-devel] [PATCH] libavformat/dashdec: Fix for ticket 6658 (Dash demuxer segfault) - Add function 'resolve_content_path' to propagate the baseURL from upper level nodes. * if no baseURL is av

2017-12-25 Thread Moritz Barsnick
On Sat, Dec 23, 2017 at 21:47:05 +, Colin NG wrote: > Subject: [FFmpeg-devel] [PATCH] libavformat/dashdec: Fix for ticket 6658 > (Dash demuxer segfault) - Add function 'resolve_content_path' to propagate > the baseURL from upper level > nodes. * if no baseURL is available, the path

Re: [FFmpeg-devel] [PATCH] libavformat/dashdec: Fix for ticket 6658 (Dash demuxer segfault) - Add function 'resolve_content_path' to propagate the baseURL from upper level nodes. * if no baseURL is av

2017-12-23 Thread Michael Niedermayer
On Sat, Dec 23, 2017 at 09:47:05PM +, Colin NG wrote: > --- > libavformat/dashdec.c | 110 > -- > 1 file changed, 97 insertions(+), 13 deletions(-) seems my git doesnt like this patch: Applying: libavformat/dashdec: Fix for ticket 6658 (Dash

Re: [FFmpeg-devel] [PATCH] libavformat/dashdec: Fix for ticket 6658 (Dash demuxer segfault) - Add function 'resolve_content_path' to propagate the baseURL from upper level nodes. * if no baseURL is av

2017-12-20 Thread 刘歧
> On 21 Dec 2017, at 10:39, Colin NG wrote: > > --- > libavformat/dashdec.c | 116 -- > 1 file changed, 103 insertions(+), 13 deletions(-) > > diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c > index

Re: [FFmpeg-devel] [PATCH] libavformat/dashdec: Fix for ticket 6658 (Dash demuxer segfault) - Add function 'resolve_content_path' to propagate the baseURL from upper level nodes. * if no baseURL is av

2017-12-05 Thread Steven Liu
2017-12-06 9:42 GMT+08:00 Colin NG : > --- > libavformat/dashdec.c | 111 > -- > 1 file changed, 98 insertions(+), 13 deletions(-) > > diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c > index 3798649..6e35e91 100644

Re: [FFmpeg-devel] [PATCH] libavformat/dashdec: Fix for ticket 6658 (Dash demuxer segfault)

2017-12-05 Thread Colin NG
From: ffmpeg-devel <ffmpeg-devel-boun...@ffmpeg.org> on behalf of Steven Liu <lingjiujia...@gmail.com> Sent: December 4, 2017 4:52 AM To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] [PATCH] libavformat/dashdec: Fix for

Re: [FFmpeg-devel] [PATCH] libavformat/dashdec: Fix for ticket 6658 (Dash demuxer segfault)

2017-12-04 Thread Derek Buitenhuis
On 12/4/2017 4:28 AM, Colin NG wrote: > --- > libavformat/dashdec.c | 112 > -- > 1 file changed, 99 insertions(+), 13 deletions(-) Please describe what is actually being changed, and why, in the commit message. It is both hard to review with no

Re: [FFmpeg-devel] [PATCH] libavformat/dashdec: Fix for ticket 6658 (Dash demuxer segfault)

2017-12-04 Thread Steven Liu
2017-12-04 12:28 GMT+08:00 Colin NG : > --- > libavformat/dashdec.c | 112 > -- > 1 file changed, 99 insertions(+), 13 deletions(-) > > diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c > index 3798649..d04bec0 100644