summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_directfb2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libvo/vo_directfb2.c b/libvo/vo_directfb2.c
index a502647a6d..4a88b3881e 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) {