[MPlayer-cvslog] r37902 - trunk/libmpcodecs/vf_bmovl.c

al subversion at mplayerhq.hu
Tue Oct 18 23:39:26 EEST 2016


Author: al
Date: Tue Oct 18 23:39:26 2016
New Revision: 37902

Log:
vf_bmovl: Don't mix in declarations after statements

Regression since r37901

Modified:
   trunk/libmpcodecs/vf_bmovl.c

Modified: trunk/libmpcodecs/vf_bmovl.c
==============================================================================
--- trunk/libmpcodecs/vf_bmovl.c	Tue Oct  4 08:43:09 2016	(r37901)
+++ trunk/libmpcodecs/vf_bmovl.c	Tue Oct 18 23:39:26 2016	(r37902)
@@ -424,8 +424,8 @@ put_image(struct vf_instance *vf, mp_ima
 	} else { // Blit the bitmap to the videoscreen, pixel for pixel
 	    for( ypos=vf->priv->y1 ; ypos < vf->priv->y2 ; ypos++ ) {
 	        for ( xpos=vf->priv->x1 ; xpos < vf->priv->x2 ; xpos++ ) {
-				pos = (ypos * dmpi->stride[0]) + xpos;
 				int pos_bm = ypos * vf->priv->w + xpos;
+				pos = (ypos * dmpi->stride[0]) + xpos;
 
 				alpha = vf->priv->bitmap.a[pos_bm];
 


More information about the MPlayer-cvslog mailing list