comparison libmpcodecs/vf.c @ 17366:934380353fd6

massive attack: mp_msg printf format fixes
author rathann
date Thu, 12 Jan 2006 20:04:36 +0000
parents 961d9875c2f7
children b56f34ba3f2f
comparison
equal deleted inserted replaced
17365:e2ca21ac42ce 17366:934380353fd6
403 (mpi->flags&MP_IMGFLAG_DRAW_CALLBACK)?" (slices)":"", 403 (mpi->flags&MP_IMGFLAG_DRAW_CALLBACK)?" (slices)":"",
404 mpi->width,mpi->height,mpi->bpp, 404 mpi->width,mpi->height,mpi->bpp,
405 (mpi->flags&MP_IMGFLAG_YUV)?"YUV":((mpi->flags&MP_IMGFLAG_SWAPPED)?"BGR":"RGB"), 405 (mpi->flags&MP_IMGFLAG_YUV)?"YUV":((mpi->flags&MP_IMGFLAG_SWAPPED)?"BGR":"RGB"),
406 (mpi->flags&MP_IMGFLAG_PLANAR)?"planar":"packed", 406 (mpi->flags&MP_IMGFLAG_PLANAR)?"planar":"packed",
407 mpi->bpp*mpi->width*mpi->height/8); 407 mpi->bpp*mpi->width*mpi->height/8);
408 mp_msg(MSGT_DECVIDEO,MSGL_DBG2,"(imgfmt: %x, planes: %x,%x,%x strides: %d,%d,%d, chroma: %dx%d, shift: h:%d,v:%d)\n", 408 mp_msg(MSGT_DECVIDEO,MSGL_DBG2,"(imgfmt: %x, planes: %p,%p,%p strides: %d,%d,%d, chroma: %dx%d, shift: h:%d,v:%d)\n",
409 mpi->imgfmt, mpi->planes[0], mpi->planes[1], mpi->planes[2], 409 mpi->imgfmt, mpi->planes[0], mpi->planes[1], mpi->planes[2],
410 mpi->stride[0], mpi->stride[1], mpi->stride[2], 410 mpi->stride[0], mpi->stride[1], mpi->stride[2],
411 mpi->chroma_width, mpi->chroma_height, mpi->chroma_x_shift, mpi->chroma_y_shift); 411 mpi->chroma_width, mpi->chroma_height, mpi->chroma_x_shift, mpi->chroma_y_shift);
412 mpi->flags|=MP_IMGFLAG_TYPE_DISPLAYED; 412 mpi->flags|=MP_IMGFLAG_TYPE_DISPLAYED;
413 } 413 }