Mercurial > libdvdnav.hg
comparison libdvdread/dvd_udf.c @ 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 | 1274107d0eac |
children | 9ab286814761 |
comparison
equal
deleted
inserted
replaced
372:7cf80b1cba5a | 373:78e68cde11cf |
---|---|
589 if(cache_file_info && !in_cache) { | 589 if(cache_file_info && !in_cache) { |
590 uint8_t tmpFiletype; | 590 uint8_t tmpFiletype; |
591 struct AD tmpFile; | 591 struct AD tmpFile; |
592 | 592 |
593 if( !strcasecmp( FileName, filename ) ) { | 593 if( !strcasecmp( FileName, filename ) ) { |
594 *FileICB = tmpICB; | 594 memcpy(FileICB, &tmpICB, sizeof(tmpICB)); |
595 found = 1; | 595 found = 1; |
596 } | 596 } |
597 UDFMapICB(device, tmpICB, &tmpFiletype, partition, &tmpFile); | 597 UDFMapICB(device, tmpICB, &tmpFiletype, partition, &tmpFile); |
598 } else { | 598 } else { |
599 if( !strcasecmp( FileName, filename ) ) { | 599 if( !strcasecmp( FileName, filename ) ) { |
600 *FileICB = tmpICB; | 600 memcpy(FileICB, &tmpICB, sizeof(tmpICB)); |
601 return 1; | 601 return 1; |
602 } | 602 } |
603 } | 603 } |
604 } else { | 604 } else { |
605 if(cache_file_info && (!in_cache) && found) | 605 if(cache_file_info && (!in_cache) && found) |