comparison xan.c @ 9499:7075d0be5ec4 libavcodec

Remove a useless "& 0xF"
author reimar
date Fri, 17 Apr 2009 20:01:45 +0000
parents 6abd94fdd827
children 9157421b6239
comparison
equal deleted inserted replaced
9498:6abd94fdd827 9499:7075d0be5ec4
331 xan_wc3_output_pixel_run(s, imagedata_buffer, x, y, size); 331 xan_wc3_output_pixel_run(s, imagedata_buffer, x, y, size);
332 imagedata_buffer += size; 332 imagedata_buffer += size;
333 } 333 }
334 } else { 334 } else {
335 /* run-based motion compensation from last frame */ 335 /* run-based motion compensation from last frame */
336 motion_x = (*vector_segment >> 4) & 0xF; 336 motion_x = *vector_segment >> 4;
337 motion_y = *vector_segment & 0xF; 337 motion_y = *vector_segment & 0xF;
338 vector_segment++; 338 vector_segment++;
339 339
340 /* sign extension */ 340 /* sign extension */
341 if (motion_x & 0x8) 341 if (motion_x & 0x8)