Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6718 Discussions

codec/avi_spl/src/umc_avi_index.cpp(398) : warning C4293: '<<' : shift count negative or too big, undefined behavior")

bj2
Beginner
448 Views

// high half of qwBaseOffset

codec/avi_spl/src/umc_avi_index.cpp(398) : warning C4293: '<<' : shift count negative or too big, undefined behavior")

((Ipp32u *)&qwBaseOffset)[1] |= *(Ipp32u *)buf << 32;

I don't think those << 32 ever work as intended against a 32-bit value. *buf will be zero, and I don't think that is what is intended. It'd probably work most of the time if the value would be zero...

Package ID: w_ipp-sample-media_b_5.2.013
Package Contents: Intel IPP Media Processing Samples for Windows*

June 12th is D-day according to the beta license date (never mind the beta itself seems to have expired last week).

0 Kudos
1 Reply
Vladimir_Dudnik
Employee
448 Views

Hello,

thank you for rainsing that, I've submitted issue report to premier.intel.com. We will fix that in the next version of IPP

Regards,
Vladimir

0 Kudos
Reply