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 */
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to