diff options
-rw-r--r-- | engines/2way/src/pv_2way_sdkinfo.h | 4 | ||||
-rw-r--r-- | engines/author/src/pv_author_sdkinfo.h | 4 | ||||
-rw-r--r-- | engines/player/src/pv_player_sdkinfo.h | 4 | ||||
-rw-r--r-- | fileformats/audioparser/amr/src/pvmf_amr_parser.cpp | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/engines/2way/src/pv_2way_sdkinfo.h b/engines/2way/src/pv_2way_sdkinfo.h index 0ccbb3373..324247e42 100644 --- a/engines/2way/src/pv_2way_sdkinfo.h +++ b/engines/2way/src/pv_2way_sdkinfo.h @@ -21,7 +21,7 @@ // This header file is automatically generated at build-time // *** OFFICIAL RELEASE INFO -- Will not auto update -#define PV2WAY_ENGINE_SDKINFO_LABEL "CORE_9.004.1.1" -#define PV2WAY_ENGINE_SDKINFO_DATE 0x20100623 +#define PV2WAY_ENGINE_SDKINFO_LABEL "1515505" +#define PV2WAY_ENGINE_SDKINFO_DATE 0x20100624 #endif //PV_2WAY_SDKINFO_H_INCLUDED diff --git a/engines/author/src/pv_author_sdkinfo.h b/engines/author/src/pv_author_sdkinfo.h index faa678218..038513d24 100644 --- a/engines/author/src/pv_author_sdkinfo.h +++ b/engines/author/src/pv_author_sdkinfo.h @@ -21,7 +21,7 @@ // This header file is automatically generated at build-time // *** OFFICIAL RELEASE INFO -- Will not auto update -#define PVAUTHOR_ENGINE_SDKINFO_LABEL "CORE_9.004.1.1" -#define PVAUTHOR_ENGINE_SDKINFO_DATE 0x20100623 +#define PVAUTHOR_ENGINE_SDKINFO_LABEL "1515505" +#define PVAUTHOR_ENGINE_SDKINFO_DATE 0x20100624 #endif //PV_AUTHOR_SDKINFO_H_INCLUDED diff --git a/engines/player/src/pv_player_sdkinfo.h b/engines/player/src/pv_player_sdkinfo.h index 06a180e0b..4e34a8d01 100644 --- a/engines/player/src/pv_player_sdkinfo.h +++ b/engines/player/src/pv_player_sdkinfo.h @@ -21,7 +21,7 @@ // This header file is automatically generated at build-time // *** OFFICIAL RELEASE INFO -- Will not auto update -#define PVPLAYER_ENGINE_SDKINFO_LABEL "CORE_9.004.1.1" -#define PVPLAYER_ENGINE_SDKINFO_DATE 0x20100623 +#define PVPLAYER_ENGINE_SDKINFO_LABEL "1515505" +#define PVPLAYER_ENGINE_SDKINFO_DATE 0x20100624 #endif //PV_PLAYER_SDKINFO_H_INCLUDED diff --git a/fileformats/audioparser/amr/src/pvmf_amr_parser.cpp b/fileformats/audioparser/amr/src/pvmf_amr_parser.cpp index a1e03a348..d177d4d55 100644 --- a/fileformats/audioparser/amr/src/pvmf_amr_parser.cpp +++ b/fileformats/audioparser/amr/src/pvmf_amr_parser.cpp @@ -369,8 +369,8 @@ PVMFParserReturnCode PVMFAmrParser::Seek(int64 aSeekAt, int64& aSeekedTo) { LOG_DEBUG_MSG((0, "PVMFAmrParser::Seek() IN")); - // Use the bitrate and frame len to do the seek - OsclOffsetT offset = ((aSeekAt * ((iAmrBitrate + 7) / 8)) / 1000); + // Use the frame len to do the seek + OsclOffsetT offset = (aSeekAt * iAvgFrameLen) / TIME_STAMP_PER_FRAME; uint32 numFrames = offset / iAvgFrameLen; offset = iStartOffset + (numFrames * iAvgFrameLen); // Offset in Sync with frame boundaries |