Re: [FFmpeg-devel] [PATCH v2 2/2] avcodec/hevc_mp4toannexb: check bytes left for nalu_len

2024-02-10 Thread Nuo Mi
On Fri, Feb 9, 2024 at 7:47 PM Martin Storsjö wrote: > On Fri, 9 Feb 2024, Nuo Mi wrote: > > > similar issue as in the previous commit > > --- > > libavcodec/bsf/hevc_mp4toannexb.c | 6 -- > > 1 file changed, 4 insertions(+), 2 deletions(-) > > Keep in mind, that while the patches are posted

Re: [FFmpeg-devel] [PATCH v2 2/2] avcodec/hevc_mp4toannexb: check bytes left for nalu_len

2024-02-09 Thread Martin Storsjö
On Fri, 9 Feb 2024, Nuo Mi wrote: similar issue as in the previous commit --- libavcodec/bsf/hevc_mp4toannexb.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) Keep in mind, that while the patches are posted together, they can end up at different places further in review, and in

[FFmpeg-devel] [PATCH v2 2/2] avcodec/hevc_mp4toannexb: check bytes left for nalu_len

2024-02-09 Thread Nuo Mi
similar issue as in the previous commit --- libavcodec/bsf/hevc_mp4toannexb.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavcodec/bsf/hevc_mp4toannexb.c b/libavcodec/bsf/hevc_mp4toannexb.c index d91229a895..8eec18f31e 100644 ---