From 7f763be644200a8a67948be77d49ee1b0fbbb1eb Mon Sep 17 00:00:00 2001 From: PacketVideo CM Date: Wed, 23 Sep 2009 16:24:27 -0700 Subject: [PATCH] RIO-7488: For WVC1 or WMVA content, there can be more than 7 bytes (variable size) between SeqSC and EntrySC, thus commenting out the check for EntrySC enables the player to play more Advanced Profile clips. --- .../pv_config_parser/src/pv_video_config_parser.cpp | 12 ------------ engines/2way/src/pv_2way_sdkinfo.h | 4 ++-- engines/author/src/pv_author_sdkinfo.h | 4 ++-- engines/player/src/pv_player_sdkinfo.h | 4 ++-- 4 files changed, 6 insertions(+), 18 deletions(-) diff --git a/codecs_v2/utilities/pv_config_parser/src/pv_video_config_parser.cpp b/codecs_v2/utilities/pv_config_parser/src/pv_video_config_parser.cpp index a125d232..6f0ee32d 100644 --- a/codecs_v2/utilities/pv_config_parser/src/pv_video_config_parser.cpp +++ b/codecs_v2/utilities/pv_config_parser/src/pv_video_config_parser.cpp @@ -342,18 +342,6 @@ OSCL_EXPORT_REF int16 pv_video_config_parser(pvVideoConfigParserInputs *aInputs, NewProfile = (NewSeqHeader & 0xC0) >> 6; if (NewProfile != 3) return -1; - pData += 3; - LoadDWORD(dwdat, pData); - NewSeqHeader = dwdat; - //ignore start code prefix - iPrefix = NewSeqHeader & 0xFF; - if (iPrefix != 0) return -1; - iPrefix = (NewSeqHeader & 0xFF00) >> 8; - if (iPrefix != 0) return -1; - iPrefix = (NewSeqHeader & 0xFF0000) >> 16; - if (iPrefix != 1) return -1; - iPrefix = (NewSeqHeader & 0xFF000000) >> 24; - if (iPrefix != SC_ENTRY) return -1; } break; diff --git a/engines/2way/src/pv_2way_sdkinfo.h b/engines/2way/src/pv_2way_sdkinfo.h index 80e419ef..64a8b3d7 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 "962434" -#define PV2WAY_ENGINE_SDKINFO_DATE 0x20090914 +#define PV2WAY_ENGINE_SDKINFO_LABEL "962555" +#define PV2WAY_ENGINE_SDKINFO_DATE 0x20090915 #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 2ced8897..d2ea7c36 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 "962434" -#define PVAUTHOR_ENGINE_SDKINFO_DATE 0x20090914 +#define PVAUTHOR_ENGINE_SDKINFO_LABEL "962555" +#define PVAUTHOR_ENGINE_SDKINFO_DATE 0x20090915 #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 8ec1e2c1..ac182455 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 "962434" -#define PVPLAYER_ENGINE_SDKINFO_DATE 0x20090914 +#define PVPLAYER_ENGINE_SDKINFO_LABEL "962555" +#define PVPLAYER_ENGINE_SDKINFO_DATE 0x20090915 #endif //PV_PLAYER_SDKINFO_H_INCLUDED -- 2.11.0