- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In ipp-samples v5.3, audio-video-codecs/codec/jpeg/src/jpegenc.cpp, at line 2557, thereis anassumption that an image's width and row step size are the same.
However, this is not necessarily the case.
When the image's width androw step size differ, the encoder will write beyond the end of thebuffer allocated for a color component's m_ss_buf. The erroneous linecurrently reads roi.width = srcStep; It should be something likeroi.width = (curr_comp->m_hsampling == 1) ? m_src.width / 2 :m_src.width;
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for reporting about the issue. We will check and fix that.
Regards,
Vladimir

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