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

UMC::MP4Muxer uninitialized variable: stss.total_entries

kandersonmarch
Beginner
256 Views

Intel,

There is a bug in thethe UMC library that causes a muxed Mp4 file's stco index to be off by 16 bytes. This will cause the file to be unplayable.

The cause is in Mp4Muxer; the variablem_headerMPEG4.trak->mdia.minf.stbl.stss.total_entries is not initialized before use. As a result, when this varialbe is zero (happens occasionally), the stss table will not include it's own box size in the m_nHeaderSize variable, andthe resulting mp4 file will have incorrect indices in the stco table (off by 16 bytes). This bug is only reproducable in release mode. But you can reproduce the behavior by setting total_entries to 0 before using the variable.

Could you track this bug and perhaps fix it in the next release? The library version I'm using is

Package ID: w_ipp-samples_p_7.0.1.041

Package Contents: Intel IPP Samples for Windows*

Package ID: w_ipp-samples_p_7.0.1.041Package Contents: Intel IPP Samples for Windows*

Thanks,

Ken

0 Kudos
1 Reply
Chao_Y_Intel
Moderator
256 Views
Hi Ken,

Thanks for your report. We tracked this problem for the future version fix.

Regards,
Chao
0 Kudos
Reply