Re: [FFmpeg-devel] [PATCH] avcodec/options-test: don't alloc avctx->coded_frame

2015-07-21 Thread James Almer
On 21/07/15 5:19 AM, Michael Niedermayer wrote: > On Tue, Jul 21, 2015 at 12:29:15AM -0300, James Almer wrote: >> It's done automatically by avcodec_open2() now. >> >> Fixes memleaks in fate-libavcodec-options. >> >> Signed-off-by: James Almer >> --- >> libavcodec/options.c | 2 -- >> 1 file chan

Re: [FFmpeg-devel] [PATCH] avcodec/options-test: don't alloc avctx->coded_frame

2015-07-21 Thread Michael Niedermayer
On Tue, Jul 21, 2015 at 12:29:15AM -0300, James Almer wrote: > It's done automatically by avcodec_open2() now. > > Fixes memleaks in fate-libavcodec-options. > > Signed-off-by: James Almer > --- > libavcodec/options.c | 2 -- > 1 file changed, 2 deletions(-) LGTM thanks [...] -- Michael

[FFmpeg-devel] [PATCH] avcodec/options-test: don't alloc avctx->coded_frame

2015-07-20 Thread James Almer
It's done automatically by avcodec_open2() now. Fixes memleaks in fate-libavcodec-options. Signed-off-by: James Almer --- libavcodec/options.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/options.c b/libavcodec/options.c index 41471de..63a03ac 100644 --- a/libavcodec/options.