media_packet_get_video_stride_width(pkt, 1, &stride_width);
size = app->width * app->height / 2;
- for (i = 0; i< app->height / 2; i++) {
+ for (i = 0; i < app->height / 2; i++) {
memcpy(buf_data_ptr, tmp, app->width);
buf_data_ptr += stride_width;
tmp += app->width;