This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit eadce304028d59e6280715c5b87736dafe09ab5d Author: Zhao Zhili <[email protected]> AuthorDate: Fri Mar 20 10:37:34 2026 +0800 Commit: Zhao Zhili <[email protected]> CommitDate: Fri Mar 20 10:45:31 2026 +0800 avformat/lcevc: merge duplicate IDR and NON_IDR branches Signed-off-by: Zhao Zhili <[email protected]> --- libavformat/lcevc.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libavformat/lcevc.c b/libavformat/lcevc.c index 341d8d1694..f6a5bf1aaa 100644 --- a/libavformat/lcevc.c +++ b/libavformat/lcevc.c @@ -224,11 +224,8 @@ int ff_lcvec_parse_config_record(LCEVCDecoderConfigurationRecord *lvcc, for (int i = 0; i < h2645_pkt.nb_nals; i++) { const H2645NAL *nal = &h2645_pkt.nals[i]; - if (nal->type == LCEVC_IDR_NUT) { - ret = write_nalu(lvcc, pb, nal); - if (ret < 0) - goto fail; - } else if (nal->type == LCEVC_NON_IDR_NUT) { + if (nal->type == LCEVC_IDR_NUT || + nal->type == LCEVC_NON_IDR_NUT) { ret = write_nalu(lvcc, pb, nal); if (ret < 0) goto fail; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
