shithub: aacdec

Download patch

ref: 31b537ecac196e6836d83ed9fe1a93b2ef1669ce
parent: 7c2d54efdb12c03309522f48e2dc195e0b85d3e2
author: menno <menno>
date: Tue Feb 25 12:44:16 EST 2003

Fix in function naming :)

--- a/common/mp4v2/mp4.h
+++ b/common/mp4v2/mp4.h
@@ -917,7 +917,7 @@
 u_int32_t MP4TagGetNumEntries(MP4FileHandle hFile, MP4TrackId trackId);
 void MP4TagGetEntry(MP4FileHandle hFile, MP4TrackId trackId,
                     u_int32_t index, const char **name, const char **value);
-bool MP4TagGetEntryNyName(MP4FileHandle hFile, MP4TrackId trackId,
+bool MP4TagGetEntryByName(MP4FileHandle hFile, MP4TrackId trackId,
                           char *name, const char **value);
 
 #ifdef __cplusplus
--- a/common/mp4v2/mp4file.cpp
+++ b/common/mp4v2/mp4file.cpp
@@ -2489,7 +2489,7 @@
 
         if (!strcmp(n, name))
         {
-            strcpy((char*)*value, v);
+            *value = v;
             return true;
         }
     }