Mercurial > libdvdnav.hg
changeset 373:78e68cde11cf src
replaced *struct assignment with call to memcpy(); patch by Erik Hovland org
author | nicodvb |
---|---|
date | Thu, 05 Jun 2008 10:22:53 +0000 |
parents | 7cf80b1cba5a |
children | 9ab286814761 |
files | libdvdread/dvd_udf.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libdvdread/dvd_udf.c Thu Jun 05 10:19:26 2008 +0000 +++ b/libdvdread/dvd_udf.c Thu Jun 05 10:22:53 2008 +0000 @@ -591,13 +591,13 @@ struct AD tmpFile; if( !strcasecmp( FileName, filename ) ) { - *FileICB = tmpICB; + memcpy(FileICB, &tmpICB, sizeof(tmpICB)); found = 1; } UDFMapICB(device, tmpICB, &tmpFiletype, partition, &tmpFile); } else { if( !strcasecmp( FileName, filename ) ) { - *FileICB = tmpICB; + memcpy(FileICB, &tmpICB, sizeof(tmpICB)); return 1; } }