Re: [FFmpeg-devel] [PATCH v2] avformat/options: don't call avformat_free_context() within avformat_alloc_context()

2019-10-19 Thread James Almer
On 10/19/2019 8:42 PM, Andreas Rheinhardt wrote: > James Almer: >> avformat_free_context() expects AVFormatContext->internal to not be NULL. >> >> Signed-off-by: James Almer >> --- >> libavformat/options.c | 10 ++ >> 1 file changed, 6 insertions(+), 4 deletions(-) >> >> diff --git

Re: [FFmpeg-devel] [PATCH v2] avformat/options: don't call avformat_free_context() within avformat_alloc_context()

2019-10-19 Thread Andreas Rheinhardt
James Almer: > avformat_free_context() expects AVFormatContext->internal to not be NULL. > > Signed-off-by: James Almer > --- > libavformat/options.c | 10 ++ > 1 file changed, 6 insertions(+), 4 deletions(-) > > diff --git a/libavformat/options.c b/libavformat/options.c > index

[FFmpeg-devel] [PATCH v2] avformat/options: don't call avformat_free_context() within avformat_alloc_context()

2019-10-19 Thread James Almer
avformat_free_context() expects AVFormatContext->internal to not be NULL. Signed-off-by: James Almer --- libavformat/options.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libavformat/options.c b/libavformat/options.c index c188c23506..756f4d53c5 100644 ---