]> git.sesse.net Git - ffmpeg/commit
avcodec/mpegaudiodec_template: disable CRC checking for layers 1 and 2
authorJames Almer <jamrial@gmail.com>
Mon, 3 Aug 2020 13:40:10 +0000 (10:40 -0300)
committerJames Almer <jamrial@gmail.com>
Mon, 3 Aug 2020 14:09:47 +0000 (11:09 -0300)
commit08f60a35b452967091aec8426f97c502226090e2
treea78c30a06410df2175999f6e0b03aa2af69eb7fc
parent9afd1f6ff2652daefd134350171f35f97c3e069b
avcodec/mpegaudiodec_template: disable CRC checking for layers 1 and 2

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

Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/mpegaudiodec_template.c