Re: [FFmpeg-devel] [PATCH 1/2] avutil/tx: remove deadcode of the control flow

2022-01-27 Thread Lynne
28 Jan 2022, 08:07 by d...@lynne.ee: > 28 Jan 2022, 03:08 by l...@chinaffmpeg.org: > >> From: Steven Liu >> >> Fix CID: 1497864 >> The control flow should return ENOSYS if nb_cd_matches is 0 at before >> and the ret equal AVERROR(ENOMEM) or goto end label, so remove the last >> control flow if (r

Re: [FFmpeg-devel] [PATCH 1/2] avutil/tx: remove deadcode of the control flow

2022-01-27 Thread Lynne
28 Jan 2022, 03:08 by l...@chinaffmpeg.org: > From: Steven Liu > > Fix CID: 1497864 > The control flow should return ENOSYS if nb_cd_matches is 0 at before > and the ret equal AVERROR(ENOMEM) or goto end label, so remove the last > control flow if (ret >= 0) before end label. > > Signed-off-by: S

[FFmpeg-devel] [PATCH 1/2] avutil/tx: remove deadcode of the control flow

2022-01-27 Thread Steven Liu
From: Steven Liu Fix CID: 1497864 The control flow should return ENOSYS if nb_cd_matches is 0 at before and the ret equal AVERROR(ENOMEM) or goto end label, so remove the last control flow if (ret >= 0) before end label. Signed-off-by: Steven Liu --- libavutil/tx.c | 3 --- 1 file changed, 3 d