Changeset 5157 for pjproject/trunk/pjmedia/src/pjmedia-videodev/util.c
- Timestamp:
- Aug 10, 2015 9:11:39 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-videodev/util.c
r5138 r5157 23 23 #include <pj/errno.h> 24 24 #include <pj/log.h> 25 26 #if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) 25 27 26 28 #if defined(PJMEDIA_HAS_LIBYUV) && PJMEDIA_HAS_LIBYUV != 0 … … 282 284 283 285 swap(src, dst); 286 #else 287 PJ_UNUSED_ARG(p_len); 288 PJ_UNUSED_ARG(dst_size); 284 289 #endif 285 290 } … … 289 294 /* Center the frame and fill the area with black color */ 290 295 if (conv->fmt.id == PJMEDIA_FORMAT_I420) { 291 inti = 0;296 unsigned i = 0; 292 297 pj_uint8_t *pdst = dst; 293 298 pj_uint8_t *psrc = src; 294 pj_size_t p_len_src , p_len_dst;299 pj_size_t p_len_src = 0, p_len_dst = conv->wxh; 295 300 int pad = conv->pad; 296 301 297 p_len_dst = conv->wxh;298 302 pj_bzero(pdst, p_len_dst); 299 303 … … 358 362 } 359 363 } 364 365 #endif /* PJMEDIA_HAS_VIDEO */
Note: See TracChangeset
for help on using the changeset viewer.