Re: [FFmpeg-devel] [PATCH 1/3] ffmdec: reset packet_end in case of failure

2016-01-03 Thread Andreas Cadhalpun
On 03.01.2016 15:52, Michael Niedermayer wrote: > On Sat, Jan 02, 2016 at 07:43:03PM +0100, Andreas Cadhalpun wrote: >> ffmdec.c |9 ++--- >> 1 file changed, 6 insertions(+), 3 deletions(-) >> 1600298d54df3b7c7c74d4437521405b38342c60 >> 0001-ffmdec-reset-packet_end-in-case-of-failure.pat

Re: [FFmpeg-devel] [PATCH 1/3] ffmdec: reset packet_end in case of failure

2016-01-03 Thread Michael Niedermayer
On Sat, Jan 02, 2016 at 07:43:03PM +0100, Andreas Cadhalpun wrote: > On 02.01.2016 19:14, Michael Niedermayer wrote: > > On Sat, Jan 02, 2016 at 04:51:17PM +0100, Andreas Cadhalpun wrote: > >> This fixes segmentation faults caused by passing a packet_ptr of NULL to > >> memcpy. > >> > >> Signed-off

Re: [FFmpeg-devel] [PATCH 1/3] ffmdec: reset packet_end in case of failure

2016-01-02 Thread Andreas Cadhalpun
On 02.01.2016 19:14, Michael Niedermayer wrote: > On Sat, Jan 02, 2016 at 04:51:17PM +0100, Andreas Cadhalpun wrote: >> This fixes segmentation faults caused by passing a packet_ptr of NULL to >> memcpy. >> >> Signed-off-by: Andreas Cadhalpun >> --- >> libavformat/ffmdec.c | 8 ++-- >> 1 file

Re: [FFmpeg-devel] [PATCH 1/3] ffmdec: reset packet_end in case of failure

2016-01-02 Thread Michael Niedermayer
On Sat, Jan 02, 2016 at 04:51:17PM +0100, Andreas Cadhalpun wrote: > This fixes segmentation faults caused by passing a packet_ptr of NULL to > memcpy. > > Signed-off-by: Andreas Cadhalpun > --- > libavformat/ffmdec.c | 8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > diff --gi

[FFmpeg-devel] [PATCH 1/3] ffmdec: reset packet_end in case of failure

2016-01-02 Thread Andreas Cadhalpun
This fixes segmentation faults caused by passing a packet_ptr of NULL to memcpy. Signed-off-by: Andreas Cadhalpun --- libavformat/ffmdec.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libavformat/ffmdec.c b/libavformat/ffmdec.c index 9fe4155..7b2d0d7 100644 --- a/l