Re: [FFmpeg-devel] [PATCH 1/3] avcodec/adpcmenc: Add FF_CODEC_CAP_INIT_CLEANUP

2020-05-26 Thread lance . lmwang
On Mon, May 18, 2020 at 07:11:07PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > then we can remove adpcm_encode_close() in adpcm_encode_init() if have failed. > so the goto error lable wlll be unnecessary and can be removed later. > > Signed-off-by: Limin Wang > --- > libavcode

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/adpcmenc: Add FF_CODEC_CAP_INIT_CLEANUP

2020-05-24 Thread lance . lmwang
On Mon, May 18, 2020 at 07:11:07PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > then we can remove adpcm_encode_close() in adpcm_encode_init() if have failed. > so the goto error lable wlll be unnecessary and can be removed later. > > Signed-off-by: Limin Wang > --- > libavcode

[FFmpeg-devel] [PATCH 1/3] avcodec/adpcmenc: Add FF_CODEC_CAP_INIT_CLEANUP

2020-05-18 Thread lance . lmwang
From: Limin Wang then we can remove adpcm_encode_close() in adpcm_encode_init() if have failed. so the goto error lable wlll be unnecessary and can be removed later. Signed-off-by: Limin Wang --- libavcodec/adpcmenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavco