]> git.sesse.net Git - mlt/commitdiff
Fix crash in decklink with keyer and interlaced clips (3310104).
authorDan Dennedy <dan@dennedy.org>
Fri, 3 Jun 2011 05:37:11 +0000 (22:37 -0700)
committerDan Dennedy <dan@dennedy.org>
Fri, 3 Jun 2011 05:37:11 +0000 (22:37 -0700)
src/modules/decklink/consumer_decklink.cpp

index 66d9e52bc9acda1d73b523df4cb811a405cb0172..a18486ff4e86a0ff39f3b28ec8343834eabd8c2c 100644 (file)
@@ -433,7 +433,8 @@ public:
                                        {
                                                // Correct field order
                                                m_height--;
-                                               d += stride;
+                                               y--;
+                                               d += m_width;
                                        }
 
                                        // Need to relocate alpha channel RGBA => ARGB