OSDN Git Service

RIO-7703: Fix for memory leak in mp4 local playback at GetMetaDataValue
authorPacketVideo CM <engbuild@pv.com>
Wed, 21 Oct 2009 16:46:40 +0000 (09:46 -0700)
committerPacketVideo CM <engbuild@pv.com>
Wed, 21 Oct 2009 16:46:40 +0000 (09:46 -0700)
engines/2way/src/pv_2way_sdkinfo.h
engines/author/src/pv_author_sdkinfo.h
engines/player/src/pv_player_sdkinfo.h
nodes/pvmp4ffparsernode/src/pvmf_mp4ffparser_node_metadata.cpp

index 23214ae..85ddf4e 100644 (file)
@@ -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 "1023559"
+#define PV2WAY_ENGINE_SDKINFO_LABEL "1023577"
 #define PV2WAY_ENGINE_SDKINFO_DATE 0x20091015
 
 #endif //PV_2WAY_SDKINFO_H_INCLUDED
index 60ba69b..38fb84b 100644 (file)
@@ -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 "1023559"
+#define PVAUTHOR_ENGINE_SDKINFO_LABEL "1023577"
 #define PVAUTHOR_ENGINE_SDKINFO_DATE 0x20091015
 
 #endif //PV_AUTHOR_SDKINFO_H_INCLUDED
index 0c9c42a..fdcfe8b 100644 (file)
@@ -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 "1023559"
+#define PVPLAYER_ENGINE_SDKINFO_LABEL "1023577"
 #define PVPLAYER_ENGINE_SDKINFO_DATE 0x20091015
 
 #endif //PV_PLAYER_SDKINFO_H_INCLUDED
index b0442e2..d8da132 100644 (file)
@@ -457,7 +457,7 @@ PVMFStatus PVMFMP4FFParserNode::DoGetMetadataValues(PVMFMP4FFParserNodeCommand&
                         // Check if the max number of value entries were added
                         if (max_entries > 0 && numentriesadded >= max_entries)
                         {
-
+                            iMP4ParserNodeMetadataValueCount = (*valuelistptr).size();
                             return PVMFSuccess;
                         }
                     }
@@ -628,7 +628,7 @@ PVMFStatus PVMFMP4FFParserNode::DoGetMetadataValues(PVMFMP4FFParserNodeCommand&
                             // Check if the max number of value entries were added
                             if (max_entries > 0 && numentriesadded >= max_entries)
                             {
-
+                                iMP4ParserNodeMetadataValueCount = (*valuelistptr).size();
                                 return PVMFSuccess;
                             }
                         }
@@ -705,7 +705,7 @@ PVMFStatus PVMFMP4FFParserNode::DoGetMetadataValues(PVMFMP4FFParserNodeCommand&
                             // Check if the max number of value entries were added
                             if (max_entries > 0 && numentriesadded >= max_entries)
                             {
-
+                                iMP4ParserNodeMetadataValueCount = (*valuelistptr).size();
                                 return PVMFSuccess;
                             }
                         }
@@ -782,7 +782,7 @@ PVMFStatus PVMFMP4FFParserNode::DoGetMetadataValues(PVMFMP4FFParserNodeCommand&
                             // Check if the max number of value entries were added
                             if (max_entries > 0 && numentriesadded >= max_entries)
                             {
-
+                                iMP4ParserNodeMetadataValueCount = (*valuelistptr).size();
                                 return PVMFSuccess;
                             }
                         }
@@ -857,7 +857,7 @@ PVMFStatus PVMFMP4FFParserNode::DoGetMetadataValues(PVMFMP4FFParserNodeCommand&
                             // Check if the max number of value entries were added
                             if (max_entries > 0 && numentriesadded >= max_entries)
                             {
-
+                                iMP4ParserNodeMetadataValueCount = (*valuelistptr).size();
                                 return PVMFSuccess;
                             }
                         }
@@ -932,7 +932,7 @@ PVMFStatus PVMFMP4FFParserNode::DoGetMetadataValues(PVMFMP4FFParserNodeCommand&
                             // Check if the max number of value entries were added
                             if (max_entries > 0 && numentriesadded >= max_entries)
                             {
-
+                                iMP4ParserNodeMetadataValueCount = (*valuelistptr).size();
                                 return PVMFSuccess;
                             }
                         }