[Ffmpeg-cvslog] r6961 - trunk/libavcodec/bitstream_filter.c
michael
subversion
Fri Nov 10 12:45:44 CET 2006
Author: michael
Date: Fri Nov 10 12:45:43 2006
New Revision: 6961
Modified:
trunk/libavcodec/bitstream_filter.c
Log:
zero private bits
Modified: trunk/libavcodec/bitstream_filter.c
==============================================================================
--- trunk/libavcodec/bitstream_filter.c (original)
+++ trunk/libavcodec/bitstream_filter.c Fri Nov 10 12:45:43 2006
@@ -238,8 +238,10 @@
if(lsf){
FFSWAP(int, p[1], p[2]);
header |= (p[1] & 0xC0)>>2;
+ p[1] &= 0x3F;
}else{
header |= p[1] & 0x30;
+ p[1] &= 0xCF;
}
}
More information about the ffmpeg-cvslog
mailing list