# HG changeset patch # User reimar # Date 1263325889 0 # Node ID 8ddf6f92553a0853567d335f5b56ccc09aa0fcba # Parent d383b93fa3f85fcb73dd6e2dd17dde87fa5c6424 Remove a check that simply can not have worked since it relied on a completely uninitialized variable. diff -r d383b93fa3f8 -r 8ddf6f92553a libvo/vo_directfb2.c --- a/libvo/vo_directfb2.c Tue Jan 12 19:41:44 2010 +0000 +++ b/libvo/vo_directfb2.c Tue Jan 12 19:51:29 2010 +0000 @@ -1145,8 +1145,7 @@ // 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) {