[MPlayer-cvslog] r30292 - trunk/libvo/vo_directfb2.c
reimar
subversion at mplayerhq.hu
Tue Jan 12 20:51:29 CET 2010
Author: reimar
Date: Tue Jan 12 20:51:29 2010
New Revision: 30292
Log:
Remove a check that simply can not have worked since it relied on a completely
uninitialized variable.
Modified:
trunk/libvo/vo_directfb2.c
Modified: trunk/libvo/vo_directfb2.c
==============================================================================
--- trunk/libvo/vo_directfb2.c Tue Jan 12 20:41:44 2010 (r30291)
+++ trunk/libvo/vo_directfb2.c Tue Jan 12 20:51:29 2010 (r30292)
@@ -1145,8 +1145,7 @@ static uint32_t get_image(mp_image_t *mp
// printf("width=%d vs. pitch=%d, flags=0x%X \n",mpi->width,pitch,mpi->flags);
- if((mpi->width==pitch) ||
- (mpi->flags&(MP_IMGFLAG_ACCEPT_STRIDE|MP_IMGFLAG_ACCEPT_WIDTH))){
+ if(mpi->flags&(MP_IMGFLAG_ACCEPT_STRIDE|MP_IMGFLAG_ACCEPT_WIDTH)){
// we're lucky or codec accepts stride => ok, let's go!
if (frame) {
More information about the MPlayer-cvslog
mailing list