summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-12 19:51:29 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-12 19:51:29 +0000
commitc69a27ef8eccb79c4c85ba966de59ee00d47e844 (patch)
tree5bafbddf2ab535ab8e70031277953dfc4031418d
parent04fde0d9368c7223ccedec6faf2016385d74fca2 (diff)
downloadmpv-c69a27ef8eccb79c4c85ba966de59ee00d47e844.tar.bz2
mpv-c69a27ef8eccb79c4c85ba966de59ee00d47e844.tar.xz
Remove a check that simply can not have worked since it relied on a completely
uninitialized variable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30292 b3059339-0415-0410-9bf9-f77b7e298cf2
-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 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) {