VIDEO: Make getCurFrame declaration consistent

The declaration used int32 while the definition used int.
This should fix building on AmigaOS4 (bug #3570577).
This commit is contained in:
Willem Jan Palenstijn 2012-09-21 22:34:27 +02:00
parent 42e395859f
commit 23de059262
3 changed files with 3 additions and 3 deletions

View File

@ -478,7 +478,7 @@ VideoHandle VideoManager::findVideoHandle(const Common::String &filename) {
return NULL_VID_HANDLE;
}
int32 VideoManager::getCurFrame(VideoHandle handle) {
int VideoManager::getCurFrame(VideoHandle handle) {
assert(handle != NULL_VID_HANDLE);
return _videoStreams[handle]->getCurFrame();
}

View File

@ -98,7 +98,7 @@ public:
// Handle functions
VideoHandle findVideoHandle(uint16 id);
VideoHandle findVideoHandle(const Common::String &filename);
int32 getCurFrame(VideoHandle handle);
int getCurFrame(VideoHandle handle);
uint32 getFrameCount(VideoHandle handle);
uint32 getTime(VideoHandle handle);
uint32 getDuration(VideoHandle videoHandle);

View File

@ -204,7 +204,7 @@ public:
* Returns the current frame number of the video.
* @return the last frame decoded by the video
*/
int32 getCurFrame() const;
int getCurFrame() const;
/**
* Returns the number of frames in the video.