Access violation exception in h264_enc

Access violation exception in h264_enc

When I used umc_video_enc.exe to encode a h264 file, I received the access violation exception during calling omp_set_num_threads in CheckEncoderParameters of H264Encoder.

The app and the encoder lib were both compiled in visual studio 2005. OPENMP was enabled.

What could possible cause this problem?

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hello,

there should not be any problems with OpenMP. You may ensure that if you build IPP sample with build script provided.

Our expert guess you may not call Init and then in code like this you will access by NULL pointer

omp_set_num_threads(core_enc->m_info.numThreads);

Regards,
Vladimir

Quoting - vdudnik

Hello,

there should not be any problems with OpenMP. You may ensure that if you build IPP sample with build script provided.

Our expert guess you may not call Init and then in code like this you will access by NULL pointer

omp_set_num_threads(core_enc->m_info.numThreads);

Regards,
Vladimir

This is very wierd.

Even when I call omp_set_num_threads(1), the crash is still there.

Leave a Comment

Please sign in to add a comment. Not a member? Join today