From f59df9233deedd647e10fd696d2a5602378d4b4b Mon Sep 17 00:00:00 2001 From: Dan Donovan Date: Thu, 5 Apr 2007 22:01:33 +0000 Subject: [PATCH] Fix GetFloat again, I guess. Originally committed to SVN as r1013. --- aegisub/video_frame.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/aegisub/video_frame.cpp b/aegisub/video_frame.cpp index d26146a32..4f05fa41e 100644 --- a/aegisub/video_frame.cpp +++ b/aegisub/video_frame.cpp @@ -241,7 +241,11 @@ void AegiVideoFrame::GetFloat(float *buffer) const { if (flipped) src = data[0] + (h-y-1)*pitch[0]; // I think that it requires flipped data - amz else src = data[0] + y*pitch[0]; for (unsigned int x=0;x