On Fri, Oct 18, 2019 at 03:09:48AM +0200, Lynne wrote: > Oct 17, 2019, 23:25 by mich...@niedermayer.cc: > Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> > --- > libavcodec/ffv1.h | 1 + > libavcodec/ffv1dec.c | 10 +++++++--- > libavcodec/ffv1enc.c | 10 +++++++--- > 3 files changed, 15 insertions(+), 6 deletions(-) > > Why 0x4964AF46 instead of 0xFFFFFFFF?
CRC32 of 0x4964AF46 is 0xFFFFFFFF its effect is just to apply a 0xFFFFFFFF flip where its needed on the decoder side This is the result of building a block [data] + [32bit checksum] which as a whole has a CRC of 0. So the code can be made simpler on the decoder side, the checksum no longer represents a special case and if you want to apply error correction also the checksum is not a special case If theres a more beautifull way to achive the same then iam certainly interrested in that Thanks -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB "I am not trying to be anyone's saviour, I'm trying to think about the future and not be sad" - Elon Musk
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".