Community
cancel
Showing results for 
Search instead for 
Did you mean: 
kandersonmarch
Beginner
57 Views

UMC::MP4Muxer uninitialized variable: stss.total_entries

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
Employee
57 Views

Hi Ken,

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

Regards,
Chao
Reply