- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page