[FFmpeg-devel] [PATCH 2/2] avcodec/h2645_parse: Check HEVC NAL size

Michael Niedermayer michael at niedermayer.cc
Sat Apr 30 12:35:46 EEST 2022


On Sat, Apr 30, 2022 at 12:18:26AM +0200, Michael Niedermayer wrote:

> Fixes: Assertion failure

it was this 
av_assert1((get_bits_count(gb) % 8) == 0);
that failed IIRC

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Rewriting code that is poorly written but fully understood is good.
Rewriting code that one doesnt understand is a sign that one is less smart
than the original author, trying to rewrite it will not make it better.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20220430/1ebfd787/attachment.sig>


More information about the ffmpeg-devel mailing list