mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-03 15:41:41 +00:00
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:
parent
42e395859f
commit
23de059262
@ -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();
|
||||
}
|
||||
|
@ -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);
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user