[FFmpeg-soc] [soc]: r2070 - aac/aac.c

andoma subversion at mplayerhq.hu
Thu Apr 3 08:37:28 CEST 2008


Author: andoma
Date: Thu Apr  3 08:37:28 2008
New Revision: 2070

Log:
Use struct assignment instead of memcpy()



Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Thu Apr  3 08:37:28 2008
@@ -501,7 +501,7 @@ static int output_configure(AACContext *
     if(!memcmp(&ac->pcs, newpcs, sizeof(program_config_struct)))
         return 0; /* no change */
 
-    memcpy(pcs, newpcs, sizeof(program_config_struct));
+    *pcs = *newpcs;
 
     /* Allocate or free elements depending on if they are in the
        current program config struct */



More information about the FFmpeg-soc mailing list