Author: kostya
Date: Wed Mar 26 06:50:59 2008
New Revision: 2040
Log:
prevent appearing of false syncwords
Modified:
dcaenc/dcaenc.c
Modified: dcaenc/dcaenc.c
==============================================================================
--- dcaenc/dcaenc.c (original)
+++ dcaenc/dcaenc.c Wed Mar 26 06:50:59 2008
@@ -246,7 +246,7 @@ static void put_primary_audio_header(DCA
static uint32_t quantize(int32_t d)
{
d = d >> 16;
- return d & 0xffff;
+ return d & 0xfffe; //XXX: this is done to avoid false syncwords
}
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc