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

Bug in MPEG4 encoder sample for PCA

wujf516
Beginner
405 Views
Hello, gurus

There's an obvius typo bug in the MPEG4 encoder for PCA, in file mp4ebuff.c, at line 123 in function load_extend_picture. Here is the patch:



--- mp4ebuff.c.orig 2005-05-13 03:28:57.000000000 +0800
+++ mp4ebuff.c 2005-05-13 03:33:06.000000000 +0800
@@ -120,7 +120,7 @@
/* extend v plane */
tmp_ptr = (Ipp8u*)pic->pic_plane[2] + pic->pic_plane_step[2]
* (pic->pic_height/2 - 1);
- for (i = 0; i < (pic->pic_width + w_rim)/2; j++) {
+ for (i = 0; i < (pic->pic_width + w_rim)/2; i++) {
for (j = 1; j <= h_rim/2; j++) {
tmp_ptr[j * pic->pic_plane_step[2]] = tmp_ptr[0];
}
0 Kudos
2 Replies
Vladimir_Dudnik
Employee
405 Views
Hi,
thanks for providing this info. It would be great if you also submit it to premier.intel.com
Regards,
Vladimir
0 Kudos
Ying_S_Intel
Employee
405 Views
Thanks for the report, we will fix it innext version of release. In future for such error report, please submit an issue via Intel Premier Support.

Regards,
Ying S
Intel IPP
0 Kudos
Reply