[MPlayer-cvslog] r33537 - trunk/libmpcodecs/vf_pp7.c
reimar
subversion at mplayerhq.hu
Wed Jun 1 21:15:48 CEST 2011
Author: reimar
Date: Wed Jun 1 21:15:48 2011
New Revision: 33537
Log:
Add casts to avoid compiler warning.
Modified:
trunk/libmpcodecs/vf_pp7.c
Modified: trunk/libmpcodecs/vf_pp7.c
==============================================================================
--- trunk/libmpcodecs/vf_pp7.c Wed Jun 1 21:07:30 2011 (r33536)
+++ trunk/libmpcodecs/vf_pp7.c Wed Jun 1 21:15:48 2011 (r33537)
@@ -288,8 +288,8 @@ static void filter(struct vf_priv_s *p,
int x, y;
const int stride= is_luma ? p->temp_stride : ((width+16+15)&(~15));
uint8_t *p_src= p->src + 8*stride;
- DCTELEM *block= p->src;
- DCTELEM *temp= p->src + 32;
+ DCTELEM *block= (DCTELEM *)p->src;
+ DCTELEM *temp= (DCTELEM *)(p->src + 32);
if (!src || !dst) return; // HACK avoid crash for Y8 colourspace
for(y=0; y<height; y++){
More information about the MPlayer-cvslog
mailing list