From 62b036ac3513d36df9098d91a777ec08c9ef0042 Mon Sep 17 00:00:00 2001 From: Karl Blomster Date: Thu, 16 Jul 2009 19:25:43 +0000 Subject: [PATCH] Fix accidental inclusion of test code in last commit. Originally committed to SVN as r3153. --- aegisub/src/video_provider_ffmpegsource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/video_provider_ffmpegsource.cpp b/aegisub/src/video_provider_ffmpegsource.cpp index 4647c8943..8a60a881c 100644 --- a/aegisub/src/video_provider_ffmpegsource.cpp +++ b/aegisub/src/video_provider_ffmpegsource.cpp @@ -298,7 +298,7 @@ const AegiVideoFrame FFmpegSourceVideoProvider::GetFrame(int _n, int FormatType) AegiVideoFrame &DstFrame = CurFrame; // choose output format - if (0 /*FormatType & FORMAT_RGB32*/) { + if (FormatType & FORMAT_RGB32) { DstFormat = FFMS_GetPixFmt("bgra"); DstFrame.format = FORMAT_RGB32; } else if (FormatType & FORMAT_RGB24) {