--- branches/release-1_3-branch/xvidcore/src/bitstream/bitstream.h 2019/11/12 14:41:36 2179 +++ branches/release-1_3-branch/xvidcore/src/bitstream/bitstream.h 2019/11/12 14:48:35 2180 @@ -171,7 +171,9 @@ the end of the buffer. Padding might be appropriate. If only chunks of 4bytes are applicable, define XVID_SAFE_BS_TAIL. Note that this will slow decoding, so consider this as a last-resort solution */ -/* #define XVID_SAFE_BS_TAIL */ +#ifndef XVID_HAVE_PADDED_BS_BUFFER +#define XVID_SAFE_BS_TAIL +#endif /* initialise bitstream structure */