@@ -217,9 +217,9 @@ namespace ojph {
217217 line_buf *dst_line, const ui32 dst_line_offset,
218218 si64 shift, ui32 width)
219219 {
220- if (src_line->flags | line_buf::LFT_32BIT)
220+ if (( src_line->flags | line_buf::LFT_32BIT) == line_buf::LFT_32BIT)
221221 {
222- if (dst_line->flags | line_buf::LFT_32BIT)
222+ if (( dst_line->flags | line_buf::LFT_32BIT) == line_buf::LFT_32BIT)
223223 {
224224 const si32 *sp = src_line->i32 + src_line_offset;
225225 si32 *dp = dst_line->i32 + dst_line_offset;
@@ -252,9 +252,9 @@ namespace ojph {
252252 line_buf *dst_line, const ui32 dst_line_offset,
253253 si64 shift, ui32 width)
254254 {
255- if (src_line->flags | line_buf::LFT_32BIT)
255+ if (( src_line->flags | line_buf::LFT_32BIT) == line_buf::LFT_32BIT)
256256 {
257- if (dst_line->flags | line_buf::LFT_32BIT)
257+ if (( dst_line->flags | line_buf::LFT_32BIT) == line_buf::LFT_32BIT)
258258 {
259259 const si32 *sp = src_line->i32 + src_line_offset;
260260 si32 *dp = dst_line->i32 + dst_line_offset;
@@ -331,7 +331,7 @@ namespace ojph {
331331 (g->flags | line_buf::LFT_REVERSIBLE) &&
332332 (b->flags | line_buf::LFT_REVERSIBLE));
333333
334- if ( y->flags | line_buf::LFT_32BIT)
334+ if (( y->flags | line_buf::LFT_32BIT) == line_buf::LFT_32BIT)
335335 {
336336 assert ((y->flags | line_buf::LFT_32BIT) &&
337337 (cb->flags | line_buf::LFT_32BIT) &&
@@ -381,7 +381,7 @@ namespace ojph {
381381 (g->flags | line_buf::LFT_REVERSIBLE) &&
382382 (b->flags | line_buf::LFT_REVERSIBLE));
383383
384- if (y->flags | line_buf::LFT_32BIT)
384+ if (( y->flags | line_buf::LFT_32BIT) == line_buf::LFT_32BIT)
385385 {
386386 assert ((y->flags | line_buf::LFT_32BIT) &&
387387 (cb->flags | line_buf::LFT_32BIT) &&
0 commit comments