diff options
-rw-r--r-- | libvo/vo_directfb2.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libvo/vo_directfb2.c b/libvo/vo_directfb2.c index d2e17593b2..d2e8a4a7fa 100644 --- a/libvo/vo_directfb2.c +++ b/libvo/vo_directfb2.c @@ -1145,8 +1145,7 @@ static uint32_t get_image(mp_image_t *mpi) // 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) { |