Mercurial > mplayer.hg
changeset 30250:8ddf6f92553a
Remove a check that simply can not have worked since it relied on a completely
uninitialized variable.
author | reimar |
---|---|
date | Tue, 12 Jan 2010 19:51:29 +0000 |
parents | d383b93fa3f8 |
children | fbb33d643fe6 |
files | libvo/vo_directfb2.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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) {