[FFmpeg-devel] [PATCH] avcodec/mpegaudiodec_template: disable CRC checking for layers 1 and 2

Michael Niedermayer michael at niedermayer.cc
Mon Aug 3 19:19:00 EEST 2020


On Mon, Aug 03, 2020 at 10:43:11AM -0300, James Almer wrote:
> Layers 1 and 2 use lengths in bits which are not a multiple of 8,
> and our CRC works on a per-byte basis.
> 
> Based on b48397e7b8
> 
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  libavcodec/mpegaudiodec_template.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

will post an implementation of CRC checks for layer1 and 2.

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

Any man who breaks a law that conscience tells him is unjust and willingly 
accepts the penalty by staying in jail in order to arouse the conscience of 
the community on the injustice of the law is at that moment expressing the 
very highest respect for law. - Martin Luther King Jr
-------------- 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/20200803/ceed69e1/attachment.sig>


More information about the ffmpeg-devel mailing list