mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-26 05:21:00 +00:00
aws_transcriber: fix CRC check
This was broken when porting to crc 2, based on: https://github.com/mrhooray/crc-rs/issues/62#issuecomment-850591181 > CRC_32_BZIP2 is a different algorithm from CRC_32_IEEE, try CRC_32_ISO_HDLC instead. The correct algorithm for replacing checksum_ieee is not CRC_32_BZIP2. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/555>
This commit is contained in:
parent
434fe8e56f
commit
626df03961
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ use nom::{
|
|||
use std::borrow::Cow;
|
||||
use std::io::{self, Write};
|
||||
|
||||
const CRC: crc::Crc<u32> = crc::Crc::<u32>::new(&crc::CRC_32_BZIP2);
|
||||
const CRC: crc::Crc<u32> = crc::Crc::<u32>::new(&crc::CRC_32_ISO_HDLC);
|
||||
|
||||
#[derive(Debug)]
|
||||
struct Prelude {
|
||||
|
|
Loading…
Reference in a new issue