Re: [FFmpeg-devel] [PATCH] flvdec: set need_context_update when changing codec id

2016-11-24 Thread Andreas Cadhalpun
On 24.11.2016 16:31, Michael Niedermayer wrote: > On Thu, Nov 24, 2016 at 01:37:17AM +0100, Andreas Cadhalpun wrote: >> On 23.11.2016 03:26, Michael Niedermayer wrote: >>> On Fri, Nov 04, 2016 at 10:28:20PM +0100, Andreas Cadhalpun wrote: Otherwise the codec context and codecpar might disagree

Re: [FFmpeg-devel] [PATCH] flvdec: set need_context_update when changing codec id

2016-11-24 Thread Michael Niedermayer
On Thu, Nov 24, 2016 at 01:37:17AM +0100, Andreas Cadhalpun wrote: > On 23.11.2016 03:26, Michael Niedermayer wrote: > > On Fri, Nov 04, 2016 at 10:28:20PM +0100, Andreas Cadhalpun wrote: > >> Otherwise the codec context and codecpar might disagree on the codec id, > >> triggering asserts in av_par

Re: [FFmpeg-devel] [PATCH] flvdec: set need_context_update when changing codec id

2016-11-23 Thread Andreas Cadhalpun
On 23.11.2016 03:26, Michael Niedermayer wrote: > On Fri, Nov 04, 2016 at 10:28:20PM +0100, Andreas Cadhalpun wrote: >> Otherwise the codec context and codecpar might disagree on the codec id, >> triggering asserts in av_parser_parse2. >> >> Signed-off-by: Andreas Cadhalpun >> --- >> libavformat/

Re: [FFmpeg-devel] [PATCH] flvdec: set need_context_update when changing codec id

2016-11-22 Thread Michael Niedermayer
On Fri, Nov 04, 2016 at 10:28:20PM +0100, Andreas Cadhalpun wrote: > Otherwise the codec context and codecpar might disagree on the codec id, > triggering asserts in av_parser_parse2. > > Signed-off-by: Andreas Cadhalpun > --- > libavformat/flvdec.c | 16 > 1 file changed, 12 in

Re: [FFmpeg-devel] [PATCH] flvdec: set need_context_update when changing codec id

2016-11-22 Thread Andreas Cadhalpun
On 04.11.2016 22:28, Andreas Cadhalpun wrote: > Otherwise the codec context and codecpar might disagree on the codec id, > triggering asserts in av_parser_parse2. > > Signed-off-by: Andreas Cadhalpun > --- > libavformat/flvdec.c | 16 > 1 file changed, 12 insertions(+), 4 deleti

[FFmpeg-devel] [PATCH] flvdec: set need_context_update when changing codec id

2016-11-04 Thread Andreas Cadhalpun
Otherwise the codec context and codecpar might disagree on the codec id, triggering asserts in av_parser_parse2. Signed-off-by: Andreas Cadhalpun --- libavformat/flvdec.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/libavformat/flvdec.c b/libavformat/flvd