Updated CSRI subtitles provider to conform to new csri.h

Originally committed to SVN as r864.
This commit is contained in:
Rodrigo Braz Monteiro 2007-01-21 07:16:55 +00:00
parent b206573965
commit 893361cca7
1 changed files with 1 additions and 2 deletions

View File

@ -41,7 +41,6 @@
#include "video_context.h" #include "video_context.h"
#define CSRIAPI __declspec(dllexport) #define CSRIAPI __declspec(dllexport)
#include "csri/csri.h" #include "csri/csri.h"
#include "csri/loader.h"
/////////////////// ///////////////////
@ -139,7 +138,7 @@ void CSRISubtitlesProvider::DrawSubtitles(AegiVideoFrame &dst,double time) {
format.width = dst.w; format.width = dst.w;
format.height = dst.h; format.height = dst.h;
format.pixfmt = frame.pixfmt; format.pixfmt = frame.pixfmt;
int error = csri_query_fmt(instance,&format); int error = csri_request_fmt(instance,&format);
if (error) return; if (error) return;
// Render // Render